fix: Entity::tlsIdx shouldn't be WIN32-specific

This commit is contained in:
Tropical 2026-03-04 19:38:28 -06:00
parent 4c770ce4c3
commit 5cf845ad1b

View file

@ -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};