From 894451461937f5cb33c51ae36445cc824f8790fc Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Sat, 3 Dec 2005 03:36:57 +0000 Subject: [PATCH] made turn or slide turn --- direct/src/controls/ShipPilot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/direct/src/controls/ShipPilot.py b/direct/src/controls/ShipPilot.py index 82d15c4f8f..9767a70643 100755 --- a/direct/src/controls/ShipPilot.py +++ b/direct/src/controls/ShipPilot.py @@ -608,11 +608,11 @@ class ShipPilot(PhysicsWalker.PhysicsWalker): # get the button states: forward = inputState.isSet("forward") reverse = inputState.isSet("reverse") - turnLeft = inputState.isSet("shipTurnLeft") - turnRight = inputState.isSet("shipTurnRight") + turnLeft = inputState.isSet("slideLeft") or inputState.isSet("turnLeft") + turnRight = inputState.isSet("slideRight") or inputState.isSet("turnRight") slide = inputState.isSet("slide") - slideLeft = inputState.isSet("shipSlideLeft") - slideRight = inputState.isSet("shipSlideRight") + slideLeft = 0 + slideRight = 0 jump = inputState.isSet("jump") # Determine what the speeds are based on the buttons: