From 394b86c3ccb03365b3235d05c6689c9ba5e19aa9 Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Thu, 3 Jul 2008 19:17:41 +0000 Subject: [PATCH] fixing documentation --- direct/src/distributed/DistributedObjectAI.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/direct/src/distributed/DistributedObjectAI.py b/direct/src/distributed/DistributedObjectAI.py index 7c73d1a433..7815bf1ae9 100644 --- a/direct/src/distributed/DistributedObjectAI.py +++ b/direct/src/distributed/DistributedObjectAI.py @@ -294,9 +294,10 @@ class DistributedObjectAI(DistributedObjectBase): [newZoneId, oldZoneId]) def getZoneData(self): - # Call this to get an AIZoneData object for the current zone. This class - # will hold onto - # setLocation destroys self._zoneData if we move away to a different zone + # Call this to get an AIZoneData object for the current zone. + # This class will hold onto it as self._zoneData + # setLocation destroys self._zoneData if we move away to + # a different zone if self._zoneData is None: self._zoneData = AIZoneData(self.air, self.parentId, self.zoneId) return self._zoneData