Quellcode durchsuchen

changed a comment

Dave Schuyler vor 20 Jahren
Ursprung
Commit
2a1a215fac

+ 1 - 1
direct/src/controls/BattleWalker.py

@@ -79,7 +79,7 @@ class BattleWalker(GravityWalker.GravityWalker):
             assert(self.isAirborne == 0)
             self.priorParent = Vec3.zero()
             if jump and self.mayJump:
-                # ...the jump button is down and we're close
+                # The jump button is down and we're close
                 # enough to the ground to jump.
                 self.lifter.addVelocity(self.avatarControlJumpForce)
                 messenger.send("jumpStart")

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

@@ -491,7 +491,7 @@ class GravityWalker(DirectObject.DirectObject):
             assert(self.isAirborne == 0)
             self.priorParent = Vec3.zero()
             if jump and self.mayJump:
-                # ...the jump button is down and we're close
+                # The jump button is down and we're close
                 # enough to the ground to jump.
                 self.lifter.addVelocity(self.avatarControlJumpForce)
                 messenger.send("jumpStart")

+ 1 - 1
direct/src/controls/PhysicsWalker.py

@@ -177,7 +177,7 @@ class PhysicsWalker(DirectObject.DirectObject):
             height = 0.0
             #*#self.cRayTrav.traverse(render)
             if self.cRayQueue.getNumEntries() != 0:
-                # ...we have a floor.
+                # We have a floor.
                 # Choose the highest of the possibly several floors we're over:
                 self.cRayQueue.sortEntries()
                 floorPoint = self.cRayQueue.getEntry(0).getFromIntersectionPoint()