mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-23 00:22:54 +00:00
fix: missing Entity::RIDING_TAG, exclude demo mode
This commit is contained in:
parent
e1a31d1b3e
commit
9978311241
|
|
@ -3,6 +3,7 @@ exclude_sources = [
|
|||
' ! -name "SurvivalMode.cpp"',
|
||||
' ! -name "CreativeMode.cpp"',
|
||||
' ! -name "GameMode.cpp"',
|
||||
' ! -name "DemoMode.cpp"',
|
||||
' ! -name "PreStitchedTextureMap.cpp"',
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue