Browse Source

put hash check back in until we have MD5 in place

Darren Ranalli 22 năm trước cách đây
mục cha
commit
447afa95d8

+ 0 - 2
direct/src/level/DistributedLevelAI.py

@@ -182,14 +182,12 @@ class DistributedLevelAI(DistributedObjectAI.DistributedObjectAI,
             # client should not be connecting. Their entityTypeRegistry
             # client should not be connecting. Their entityTypeRegistry
             # is different from ours.
             # is different from ours.
             srvHash = hash(self.levelSpec.entTypeReg)
             srvHash = hash(self.levelSpec.entTypeReg)
-            """
             if srvHash != entTypeRegHash:
             if srvHash != entTypeRegHash:
                 self.sendUpdateToAvatarId(
                 self.sendUpdateToAvatarId(
                     senderId, 'setSpecDeny',
                     senderId, 'setSpecDeny',
                     ['EntityTypeRegistry hashes do not match! '
                     ['EntityTypeRegistry hashes do not match! '
                      '(server:%s, client:%s' % (srvHash, entTypeRegHash)])
                      '(server:%s, client:%s' % (srvHash, entTypeRegHash)])
                 return
                 return
-            """
             spec = None
             spec = None
             # don't need to hit disk if we're just sending 'None' over the wire
             # don't need to hit disk if we're just sending 'None' over the wire
             useDisk = 0
             useDisk = 0