From 22ecb56db2ca386aae3c5fecb105a7c32ea21dec Mon Sep 17 00:00:00 2001 From: Justin Butler Date: Thu, 23 Jul 2009 19:03:46 +0000 Subject: [PATCH] Simple ships can now be deployed, steered, and docked by the player. --- direct/src/controls/ShipPilot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/controls/ShipPilot.py b/direct/src/controls/ShipPilot.py index 17926da4b3..6fe414baeb 100755 --- a/direct/src/controls/ShipPilot.py +++ b/direct/src/controls/ShipPilot.py @@ -180,7 +180,7 @@ class ShipPilot(PhysicsWalker): assert self.debugPrint("collisionsActive(active=%s)"%(active,)) if self.collisionsActive != active: self.collisionsActive = active - shipCollWall = self.shipNodePath.find("**/collision_hull;+s") + shipCollWall = self.shipNodePath.getWallCollisions() if active: self.cNodePath.node().setFromCollideMask(self.wallBitmask) self.cNodePath.node().setIntoCollideMask(BitMask32.allOff())