Browse Source

ship tweak

Zachary Pavlov 17 years ago
parent
commit
e939b326b5
1 changed files with 2 additions and 0 deletions
  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()