diff pytouhou/vm/anmrunner.py @ 294:94c636f8f863

Add player lasers for MarisaB.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 21 Feb 2012 14:28:38 +0100
parents d3ba32a9096e
children f3099ebf4f61
line wrap: on
line diff
--- a/pytouhou/vm/anmrunner.py
+++ b/pytouhou/vm/anmrunner.py
@@ -137,7 +137,8 @@ class ANMRunner(object):
 
     @instruction(4)
     def set_color(self, b, g, r):
-        self._sprite.color = (r, g, b)
+        if not self._sprite.fade_interpolator:
+            self._sprite.color = (r, g, b)
 
 
     @instruction(5)