diff pytouhou/vm/eclrunner.py @ 271:80e73b8245a4

Fix visibility handling
author Thibaut Girka <thib@sitedethib.com>
date Tue, 24 Jan 2012 00:56:31 +0100
parents 7a9135b88853
children b21acb12bed1
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -985,10 +985,6 @@ class ECLRunner(object):
     @instruction(132)
     def set_visible(self, value):
         self._enemy._visible = not bool(value)
-        if not self._enemy._visible:
-            if self._enemy._sprite:
-                self._enemy._sprite._removed = True
-            self._enemy.aux_anm = 8 * [None]
 
 
     @instruction(131)