From 47ca9df31c33e2d840941994675079ca022dc88f Mon Sep 17 00:00:00 2001 From: Greg Wiatroski Date: Wed, 20 Jul 2005 21:50:30 +0000 Subject: [PATCH] Changed some logic to enable logging into Toontown --- direct/src/distributed/DistributedObject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/distributed/DistributedObject.py b/direct/src/distributed/DistributedObject.py index 2267108854..15aaf99e1a 100644 --- a/direct/src/distributed/DistributedObject.py +++ b/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: