stop ship controls from sending out avatar type jump messages

This commit is contained in:
Josh Wilson 2006-10-25 21:05:54 +00:00
parent dfe5814829
commit af24759809
1 changed files with 3 additions and 3 deletions

View File

@ -692,14 +692,14 @@ class ShipPilot2(PhysicsWalker):
# the avatar has landed.
contactLength = contact.length()
if contactLength>self.__hardLandingForce:
messenger.send("jumpHardLand")
messenger.send("shipJumpHardLand")
else:
messenger.send("jumpLand")
messenger.send("shipJumpLand")
#self.priorParent.setVector(Vec3.zero())
self.isAirborne = 0
elif jump:
#self.__jumpButton=0
messenger.send("jumpStart")
messenger.send("shipJumpStart")
if 0:
# Jump away from walls and with with the slope normal.
jumpVec=Vec3(contact+Vec3.up())