changeset 353:451bee1d2cec

Allow Z as well as W to shoot.
author Thibaut Girka <thib@sitedethib.com>
date Sat, 07 Jul 2012 21:48:58 +0200
parents cca5843c2e95
children 89ee09453906
files pytouhou/ui/gamerunner.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pytouhou/ui/gamerunner.py
+++ b/pytouhou/ui/gamerunner.py
@@ -126,7 +126,7 @@ class GameRunner(pyglet.window.Window, G
             if not self.replay_level:
                 #TODO: allow user settings
                 keystate = 0
-                if self.keys[pyglet.window.key.W]:
+                if self.keys[pyglet.window.key.W] or self.keys[pyglet.window.key.Z]:
                     keystate |= 1
                 if self.keys[pyglet.window.key.X]:
                     keystate |= 2