mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
took debugRunning out of debug only mode
This commit is contained in:
parent
3f030819a1
commit
6ef852b7eb
@ -46,7 +46,6 @@ class BattleWalker(GravityWalker.GravityWalker):
|
||||
(turnLeft and self.avatarControlRotateSpeed) or
|
||||
(turnRight and -self.avatarControlRotateSpeed))
|
||||
|
||||
if __debug__:
|
||||
debugRunning = inputState.isSet("debugRunning")
|
||||
if debugRunning:
|
||||
self.speed*=4.0
|
||||
@ -164,7 +163,6 @@ class BattleWalker(GravityWalker.GravityWalker):
|
||||
self.rotationSpeed=0
|
||||
self.speed=0
|
||||
|
||||
if __debug__:
|
||||
debugRunning = inputState.isSet("debugRunning")
|
||||
if debugRunning:
|
||||
self.advanceSpeed*=4.0
|
||||
|
@ -466,7 +466,6 @@ class GravityWalker(DirectObject.DirectObject):
|
||||
(turnLeft and self.avatarControlRotateSpeed) or
|
||||
(turnRight and -self.avatarControlRotateSpeed))
|
||||
|
||||
if __debug__:
|
||||
debugRunning = inputState.isSet("debugRunning")
|
||||
if debugRunning:
|
||||
self.speed*=4.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user