diff --git a/src/Game/Functions.cpp b/src/Game/Functions.cpp index 34d78e01..6f949634 100644 --- a/src/Game/Functions.cpp +++ b/src/Game/Functions.cpp @@ -502,6 +502,8 @@ namespace Game FastCriticalSection* db_hashCritSect = reinterpret_cast(0x16B8A54); + vec3_t* CorrectSolidDeltas = reinterpret_cast(0x739BB8); // Count 26 + void Sys_UnlockWrite(FastCriticalSection* critSect) { assert(critSect->writeCount > 0); @@ -510,8 +512,6 @@ namespace Game Sys_TempPriorityEnd(&critSect->tempPriority); } - vec3_t* CorrectSolidDeltas = reinterpret_cast(0x739BB8); // Count 26 - XAssetHeader ReallocateAssetPool(XAssetType type, unsigned int newSize) { int elSize = DB_GetXAssetSizeHandlers[type](); diff --git a/src/Game/Functions.hpp b/src/Game/Functions.hpp index 13514b23..9d49115a 100644 --- a/src/Game/Functions.hpp +++ b/src/Game/Functions.hpp @@ -1032,10 +1032,10 @@ namespace Game constexpr auto AIM_ASSIST_GRAPH_COUNT = 4u; extern GraphFloat* aaInputGraph; - void Sys_UnlockWrite(FastCriticalSection*); - extern vec3_t* CorrectSolidDeltas; + void Sys_UnlockWrite(FastCriticalSection*); + XAssetHeader ReallocateAssetPool(XAssetType type, unsigned int newSize); void Menu_FreeItemMemory(Game::itemDef_s* item); void Menu_SetNextCursorItem(Game::UiContext* ctx, Game::menuDef_t* currentMenu, int unk = 1);