diff pytouhou/game/enemy.py @ 105:572740acdb25

A few changes in the execution order to match 102h.exe
author Thibaut Girka <thib@sitedethib.com>
date Mon, 05 Sep 2011 17:18:47 +0200
parents 6c59d0eeb5fa
children c7847bfed427
line wrap: on
line diff
--- a/pytouhou/game/enemy.py
+++ b/pytouhou/game/enemy.py
@@ -132,6 +132,7 @@ class Enemy(object):
     def set_anim(self, index):
         self._sprite = Sprite()
         self._anmrunner = ANMRunner(self._anm_wrapper, index, self._sprite)
+        self._anmrunner.run_frame()
 
 
     def set_pos(self, x, y, z):