Browse Source

added initial location setting

Joe Shochet 21 years ago
parent
commit
e4c5327f05
1 changed files with 1 additions and 0 deletions
  1. 1 0
      direct/src/distributed/DistributedObjectAI.py

+ 1 - 0
direct/src/distributed/DistributedObjectAI.py

@@ -322,6 +322,7 @@ class DistributedObjectAI(DirectObject.DirectObject):
             assert not hasattr(self, 'parentId')
             self.parentId = parentId
             self.zoneId = zoneId
+            self.__location = (parentId, zoneId)
             self.generate()
 
     def generate(self):