Browse Source

removed slide again

Dave Schuyler 21 năm trước cách đây
mục cha
commit
17701818ff

+ 0 - 1
direct/src/controls/GravityWalker.py

@@ -441,7 +441,6 @@ class GravityWalker(DirectObject.DirectObject):
         turnLeft = inputState.isSet("turnLeft")
         turnLeft = inputState.isSet("turnLeft")
         turnRight = inputState.isSet("turnRight")
         turnRight = inputState.isSet("turnRight")
         #slide = 0 #hack -- was: inputState.isSet("slide")
         #slide = 0 #hack -- was: inputState.isSet("slide")
-        slide = inputState.isSet("slide")
         jump = inputState.isSet("jump")
         jump = inputState.isSet("jump")
         # Determine what the speeds are based on the buttons:
         # Determine what the speeds are based on the buttons:
         self.speed=(forward and self.avatarControlForwardSpeed or 
         self.speed=(forward and self.avatarControlForwardSpeed or