took debugRunning out of debug only mode

This commit is contained in:
Samir Naik 2007-03-09 06:33:59 +00:00
parent 3f030819a1
commit 6ef852b7eb
2 changed files with 16 additions and 19 deletions

View File

@ -46,7 +46,6 @@ class BattleWalker(GravityWalker.GravityWalker):
(turnLeft and self.avatarControlRotateSpeed) or (turnLeft and self.avatarControlRotateSpeed) or
(turnRight and -self.avatarControlRotateSpeed)) (turnRight and -self.avatarControlRotateSpeed))
if __debug__:
debugRunning = inputState.isSet("debugRunning") debugRunning = inputState.isSet("debugRunning")
if debugRunning: if debugRunning:
self.speed*=4.0 self.speed*=4.0
@ -164,7 +163,6 @@ class BattleWalker(GravityWalker.GravityWalker):
self.rotationSpeed=0 self.rotationSpeed=0
self.speed=0 self.speed=0
if __debug__:
debugRunning = inputState.isSet("debugRunning") debugRunning = inputState.isSet("debugRunning")
if debugRunning: if debugRunning:
self.advanceSpeed*=4.0 self.advanceSpeed*=4.0

View File

@ -466,7 +466,6 @@ class GravityWalker(DirectObject.DirectObject):
(turnLeft and self.avatarControlRotateSpeed) or (turnLeft and self.avatarControlRotateSpeed) or
(turnRight and -self.avatarControlRotateSpeed)) (turnRight and -self.avatarControlRotateSpeed))
if __debug__:
debugRunning = inputState.isSet("debugRunning") debugRunning = inputState.isSet("debugRunning")
if debugRunning: if debugRunning:
self.speed*=4.0 self.speed*=4.0