From ce3e6622834b485b904ae0033893409331ad45ec Mon Sep 17 00:00:00 2001 From: Samir Naik Date: Mon, 14 May 2007 22:02:03 +0000 Subject: [PATCH] try making ~run work on LIVE --- direct/src/controls/ShipPilot.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/direct/src/controls/ShipPilot.py b/direct/src/controls/ShipPilot.py index 92cf0a3b6c..3460d1ed82 100755 --- a/direct/src/controls/ShipPilot.py +++ b/direct/src/controls/ShipPilot.py @@ -399,14 +399,13 @@ class ShipPilot(PhysicsWalker): # Enable debug turbo mode maxSpeed = self.ship.maxSpeed - if __debug__: - debugRunning = inputState.isSet("debugRunning") - if debugRunning or base.localAvatar.getTurbo(): - self.__speed*=4.0 - self.__slideSpeed*=4.0 - self.__rotationSpeed*=1.25 - maxSpeed = self.ship.maxSpeed * 4.0 - + debugRunning = inputState.isSet("debugRunning") + if debugRunning or base.localAvatar.getTurbo(): + self.__speed*=4.0 + self.__slideSpeed*=4.0 + self.__rotationSpeed*=1.25 + maxSpeed = self.ship.maxSpeed * 4.0 + self.__speed*=4.0 self.__slideSpeed*=4.0 self.__rotationSpeed*=1.25