diff pytouhou/vm/eclrunner.py @ 279:3539520fff93

Fix sprite rotation/translation. ANM translations are done *after* rotation, lasers are handled differently.
author Thibaut Girka <thib@sitedethib.com>
date Wed, 08 Feb 2012 18:43:39 +0100
parents 754ff6452d7e
children b6c068c8f7f2
line wrap: on
line diff
--- a/pytouhou/vm/eclrunner.py
+++ b/pytouhou/vm/eclrunner.py
@@ -767,7 +767,7 @@ class ECLRunner(object):
         except KeyError:
             pass #TODO
         else:
-            laser.x, laser.y = self._enemy.x + ox, self._enemy.y + oy
+            laser.base_pos = self._enemy.x + ox, self._enemy.y + oy
 
 
     @instruction(92)