Browse Source

Changed some logic to enable logging into Toontown

Greg Wiatroski 20 years ago
parent
commit
47ca9df31c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/distributed/DistributedObject.py

+ 1 - 1
direct/src/distributed/DistributedObject.py

@@ -411,7 +411,7 @@ class DistributedObject(PandaObject):
             
         def getLocation(self):
             try:
-                if self.parentId <= 0 and self.zoneId <= 0:
+                if self.parentId == 0 and self.zoneId == 0:
                     return None
                 # This is a -1 stuffed into a uint32
                 if self.parentId == 0xffffffff and self.zoneId == 0xffffffff: