diff pytouhou/game/laser.py @ 433:1222341ea22c

Always run the first frame of an ANMRunner.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 11 Aug 2013 14:23:50 +0200
parents c9433188ffdb
children b9d2db93972f
line wrap: on
line diff
--- a/pytouhou/game/laser.py
+++ b/pytouhou/game/laser.py
@@ -100,7 +100,6 @@ class Laser(object):
         self.sprite.angle = self.angle
         self.anmrunner = ANMRunner(lt.anm, lt.anim_index,
                                    self.sprite, self.sprite_idx_offset)
-        self.anmrunner.run_frame()
 
 
     def _check_collision(self, point, border_size):
@@ -238,7 +237,6 @@ class PlayerLaser(object):
         self.anmrunner = ANMRunner(lt.anm, lt.anim_index,
                                    self.sprite, self.sprite_idx_offset)
         #self.sprite.blendfunc = 1 #XXX
-        self.anmrunner.run_frame()
 
 
     def cancel(self):