mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-31 16:32:55 +00:00
fix: Entity::tlsIdx shouldn't be WIN32-specific
This commit is contained in:
parent
4c770ce4c3
commit
5cf845ad1b
|
|
@ -24,9 +24,7 @@
|
|||
|
||||
|
||||
int Entity::entityCounter = 2048; // 4J - changed initialiser to 2048, as we are using range 0 - 2047 as special unique smaller ids for things that need network tracked
|
||||
#ifdef _WIN32
|
||||
DWORD Entity::tlsIdx = TlsAlloc();
|
||||
#endif // _WIN32
|
||||
|
||||
// 4J - added getSmallId & freeSmallId methods
|
||||
unsigned int Entity::entityIdUsedFlags[2048/32] = {0};
|
||||
|
|
|
|||
Loading…
Reference in a new issue