changeset 61:0886994029e4

Fix toggle_mirror.
author Thibaut Girka <thib@sitedethib.com>
date Wed, 24 Aug 2011 21:14:07 +0200
parents af7914413b89
children 1f591adcea04
files pytouhou/game/sprite.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: