mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
distributed: fix division exception in ServerRepository
change operator to double slash for integer division Closes #762
This commit is contained in:
parent
e1df400f87
commit
b3c79096e5
@ -137,7 +137,7 @@ class ServerRepository:
|
||||
|
||||
# An allocator object that assigns the next doIdBase to each
|
||||
# client.
|
||||
self.idAllocator = UniqueIdAllocator(0, 0xffffffff / self.doIdRange)
|
||||
self.idAllocator = UniqueIdAllocator(0, 0xffffffff // self.doIdRange)
|
||||
|
||||
self.dcFile = DCFile()
|
||||
self.dcSuffix = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user