From 84b97e97bc9e2578489a740fba3cd2e7f5568e36 Mon Sep 17 00:00:00 2001 From: Roger Hughston Date: Wed, 2 Mar 2005 18:47:40 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/distributed/DistributedObjectAI.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/direct/src/distributed/DistributedObjectAI.py b/direct/src/distributed/DistributedObjectAI.py index 9d6e1ab96f..c80d8eeda2 100644 --- a/direct/src/distributed/DistributedObjectAI.py +++ b/direct/src/distributed/DistributedObjectAI.py @@ -139,6 +139,11 @@ class DistributedObjectAI(DirectObject.DirectObject): def addInterest(self, zoneId, note="", event=None): self.air.addInterest(self.getDoId(), zoneId, note, event) + def setLocation(self, parentId, zoneId): + # The store must run first so we know the old location + self.air.setLocation(self.doId, parentId, zoneId) + + if 0: # this is untested: def setLocation(self, parentId, zoneId): # The store must run first so we know the old location