mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -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
|
(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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user