# HG changeset patch # User Emmanuel Gil Peyrot # Date 1323262996 -3600 # Node ID a842ddd471fdcfeafb7b2f2774271a5987f59de6 # Parent ab6e6909ce04fc848a23bc94ac453c0c42610209 Pass the real speed to Player. Thanks to elghinn for discovering the bug. diff --git a/pytouhou/games/eosd.py b/pytouhou/games/eosd.py --- a/pytouhou/games/eosd.py +++ b/pytouhou/games/eosd.py @@ -59,7 +59,7 @@ class EoSDGame(Game): class EoSDPlayer(Player): def __init__(self, state, game, anm_wrapper, speed=4., hitbox_size=2.5, graze_hitbox_size=42.): - Player.__init__(self, state, game, anm_wrapper, speed=4.) + Player.__init__(self, state, game, anm_wrapper, speed=speed) self.orbs = [Orb(self.anm_wrapper, 128, self.state, self.orb_fire), Orb(self.anm_wrapper, 129, self.state, self.orb_fire)]