fix: missing Entity::RIDING_TAG, exclude demo mode

This commit is contained in:
Tropical 2026-03-22 15:20:04 -05:00
parent e1a31d1b3e
commit 9978311241
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ exclude_sources = [
' ! -name "SurvivalMode.cpp"',
' ! -name "CreativeMode.cpp"',
' ! -name "GameMode.cpp"',
' ! -name "DemoMode.cpp"',
' ! -name "PreStitchedTextureMap.cpp"',
]

View file

@ -51,6 +51,7 @@ inline void EntityTlsSetValue(pthread_key_t key, void* value) {
#endif
} // namespace
const std::wstring Entity::RIDING_TAG = L"Riding";
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