From 2e5a15c1454be7642c077b2434abefc8287c5e7c Mon Sep 17 00:00:00 2001 From: Samir Naik Date: Fri, 4 Mar 2005 04:23:21 +0000 Subject: [PATCH] sendSetLOcation from setLocation --- direct/src/distributed/DistributedObjectAI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/direct/src/distributed/DistributedObjectAI.py b/direct/src/distributed/DistributedObjectAI.py index c4914cab8e..7947364138 100644 --- a/direct/src/distributed/DistributedObjectAI.py +++ b/direct/src/distributed/DistributedObjectAI.py @@ -140,8 +140,8 @@ class DistributedObjectAI(DirectObject.DirectObject): 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) + # The store must run first so we know the old location + self.air.sendSetLocation(self, parentId, zoneId) if 0: # this is untested: