fixed pets AI crashes

This commit is contained in:
Darren Ranalli 2004-08-12 22:41:03 +00:00
parent 72112dbe72
commit b01c703cca
1 changed files with 2 additions and 1 deletions

View File

@ -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])