fix: Entity::tlsIdx shouldn't be WIN32-specific
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user