Zachary Pavlov 17 år sedan
förälder
incheckning
e939b326b5
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      direct/src/controls/ShipPilot.py

+ 2 - 0
direct/src/controls/ShipPilot.py

@@ -372,6 +372,8 @@ class ShipPilot(PhysicsWalker):
         if self.ship.getIsAutoSailing():
             forward = 1
             reverse = 0
+        else:
+            forward = 0
             
         # How far did we move based on the amount of time elapsed?
         dt = ClockObject.getGlobalClock().getDt()