Doh.
authorSimon Cross <hodgestar@gmail.com>
Sat, 5 Mar 2016 21:19:44 +0000 (23:19 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sat, 5 Mar 2016 21:19:44 +0000 (23:19 +0200)
koperkapel/scenes/level.py

index 53d370f1d0f0aaeee9fe0e3e0a4d8d3a6db91b05..5db95bb2d3070debfb893439a05e489486455e9b 100644 (file)
@@ -238,7 +238,7 @@ class GameLevelScene(BaseLevelScene):
         for bullet in self._bullets:
             bullet.pos = self.calc_offset(
                 bullet.game_pos[0] * TILE_SIZE + (TILE_SIZE // 2),
-                bullet.game_pos[0] * TILE_SIZE + (TILE_SIZE // 2))
+                bullet.game_pos[1] * TILE_SIZE + (TILE_SIZE // 2))
         more = self._check_held_keys(dt)
         if more:
             events.extend(more)