From b01c703cca8f8d71d0ffcfc0e2991818853ad258 Mon Sep 17 00:00:00 2001 From: Darren Ranalli Date: Thu, 12 Aug 2004 22:41:03 +0000 Subject: [PATCH] fixed pets AI crashes --- direct/src/distributed/DistributedObjectAI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/direct/src/distributed/DistributedObjectAI.py b/direct/src/distributed/DistributedObjectAI.py index 0adf3913a4..5fa43da432 100644 --- a/direct/src/distributed/DistributedObjectAI.py +++ b/direct/src/distributed/DistributedObjectAI.py @@ -149,7 +149,8 @@ class DistributedObjectAI(DirectObject.DirectObject): def handleLogicalZoneChange(self, newZoneId, oldZoneId): """this function gets called as if we never go through the - quiet zone""" + quiet zone. Note that it is called once you reach the newZone, + and not at the time that you leave the oldZone.""" messenger.send(self.getLogicalZoneChangeEvent(), [newZoneId, oldZoneId])