Fix whoopsie

This commit is contained in:
Roxanne 2024-01-31 17:17:29 +01:00
parent 96cc6f2f12
commit 5a967f3004
2 changed files with 5 additions and 2 deletions

View File

@ -18,6 +18,9 @@ namespace Game
gentity_s* g_entities = reinterpret_cast<gentity_s*>(0x18835D8); gentity_s* g_entities = reinterpret_cast<gentity_s*>(0x18835D8);
NetField* clientStateFields = reinterpret_cast<Game::NetField*>(0x741E40);
size_t clientStateFieldsCount = Utils::Hook::Get<size_t>(0x7433C8);
const char* origErrorMsg = reinterpret_cast<const char*>(0x79B124); const char* origErrorMsg = reinterpret_cast<const char*>(0x79B124);
XModel* G_GetModel(const int index) XModel* G_GetModel(const int index)

View File

@ -54,8 +54,8 @@ namespace Game
extern gentity_s* g_entities; extern gentity_s* g_entities;
// This does not belong anywhere else // This does not belong anywhere else
NetField* clientStateFields = reinterpret_cast<Game::NetField*>(0x741E40); extern NetField* clientStateFields;
size_t clientStateFieldsCount = Utils::Hook::Get<size_t>(0x7433C8); extern size_t clientStateFieldsCount;
extern const char* origErrorMsg; extern const char* origErrorMsg;