diff --git a/Source/Archive/GPak.cpp b/Source/Archive/GPak.cpp index 291dfe082..8beb178e5 100644 --- a/Source/Archive/GPak.cpp +++ b/Source/Archive/GPak.cpp @@ -1233,12 +1233,6 @@ PakState_656DF0::PakState_656DF0() PakAuxiliary::~PakAuxiliary() { } -// INLINED -CGPak::CGPak() : m_file(nullptr), m_version(0), m_entryCount(0), m_tableOffset(0), m_tableSize(0) { - this->Reset(); - InitializeCriticalSection(&this->m_criticalSection); -} - // OFFSET: 0x00AE97D0 // FUNCTION: fn_18107 CGPak::~CGPak() { diff --git a/Source/Archive/GPak.h b/Source/Archive/GPak.h index 3d6aff602..81cf04848 100644 --- a/Source/Archive/GPak.h +++ b/Source/Archive/GPak.h @@ -85,4 +85,10 @@ protected: static_assert(sizeof(CGPak) == 328); #endif +// INLINED +inline CGPak::CGPak() : m_file(nullptr), m_version(0), m_entryCount(0), m_tableOffset(0), m_tableSize(0) { + this->Reset(); + InitializeCriticalSection(&this->m_criticalSection); +} + #endif