diff pytouhou/game/sprite.py @ 61:0886994029e4

Fix toggle_mirror.
author Thibaut Girka <thib@sitedethib.com>
date Wed, 24 Aug 2011 21:14:07 +0200
parents 3da4de9decd0
children a142e57218a0
line wrap: on
line diff
--- a/pytouhou/game/sprite.py
+++ b/pytouhou/game/sprite.py
@@ -134,7 +134,7 @@ class Sprite(object):
                         self.instruction_pointer, = args
                         self.frame = script[self.instruction_pointer][0]
                     elif instr_type == 7:
-                        self.mirrored = True
+                        self.mirrored = not self.mirrored
                     elif instr_type == 9:
                         self.rotations_3d = args
                     elif instr_type == 10: