mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
put hash check back in until we have MD5 in place
This commit is contained in:
parent
6f5da208c1
commit
447afa95d8
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user