diff --git a/src/Game/Game.cpp b/src/Game/Game.cpp index 7e0ad53b..2887e3a1 100644 --- a/src/Game/Game.cpp +++ b/src/Game/Game.cpp @@ -18,6 +18,9 @@ namespace Game gentity_s* g_entities = reinterpret_cast(0x18835D8); + NetField* clientStateFields = reinterpret_cast(0x741E40); + size_t clientStateFieldsCount = Utils::Hook::Get(0x7433C8); + const char* origErrorMsg = reinterpret_cast(0x79B124); XModel* G_GetModel(const int index) diff --git a/src/Game/Game.hpp b/src/Game/Game.hpp index ad47733d..06315fad 100644 --- a/src/Game/Game.hpp +++ b/src/Game/Game.hpp @@ -54,8 +54,8 @@ namespace Game extern gentity_s* g_entities; // This does not belong anywhere else - NetField* clientStateFields = reinterpret_cast(0x741E40); - size_t clientStateFieldsCount = Utils::Hook::Get(0x7433C8); + extern NetField* clientStateFields; + extern size_t clientStateFieldsCount; extern const char* origErrorMsg;