# HG changeset patch # User Thibaut Girka # Date 1328552266 -3600 # Node ID 219edad0f395c14eed785cefa5a44dc536d5c2e6 # Parent 754ff6452d7e070485edb3161e1eeb3a606cdb63 Fix initial laser offset. diff --git a/pytouhou/game/enemy.py b/pytouhou/game/enemy.py --- a/pytouhou/game/enemy.py +++ b/pytouhou/game/enemy.py @@ -168,7 +168,8 @@ class Enemy(object): start_offset, end_offset, max_length, width, start_duration, duration, end_duration, grazing_delay, grazing_extra_duration, unknown): - launch_pos = self.x, self.y + ox, oy = self.bullet_launch_offset + launch_pos = self.x + ox, self.y + oy if variant == 86: angle += self.get_player_angle(self.select_player(), launch_pos) laser = Laser(launch_pos, self._game.laser_types[laser_type],