diff --git a/r5dev/engine/baseclientstate.h b/r5dev/engine/baseclientstate.h index 10ca433e..a1a9ada0 100644 --- a/r5dev/engine/baseclientstate.h +++ b/r5dev/engine/baseclientstate.h @@ -8,7 +8,7 @@ inline int* cl_host_tickcount = nullptr; class CBaseClientState { public: - bool** m_bPaused = &cl_m_bPaused; // pauzes the client side simulation in apex. + bool** m_bPaused = &cl_m_bPaused; // pauses the client side simulation in apex. int** host_tickcount = &cl_host_tickcount; // client simulation tick count. bool IsPaused(); @@ -37,7 +37,7 @@ class HClientState : public IDetour { //std::cout << "| FUN: CClientState::CheckForResend : 0x" << std::hex << std::uppercase << p_CClientState__CheckForResend.GetPtr() << std::setw(nPad) << " |" << std::endl; std::cout << "| VAR: cl_m_bPaused : 0x" << std::hex << std::uppercase << cl_m_bPaused << std::setw(0) << " |" << std::endl; - std::cout << "| FUN: cl_host_tickcount : 0x" << std::hex << std::uppercase << cl_host_tickcount << std::setw(0) << " |" << std::endl; + std::cout << "| VAR: cl_host_tickcount : 0x" << std::hex << std::uppercase << cl_host_tickcount << std::setw(0) << " |" << std::endl; std::cout << "+----------------------------------------------------------------+" << std::endl; } virtual void GetFun(void) const { } @@ -61,8 +61,6 @@ class HClientState : public IDetour .FindPatternSelf("80 3D ? ? ? 01 ?", CMemory::Direction::DOWN, 150).ResolveRelativeAddressSelf(0x2, 0x7).RCast(); cl_host_tickcount = localRef.Offset(0xC0) .FindPatternSelf("66 0F 6E", CMemory::Direction::DOWN, 150).ResolveRelativeAddressSelf(0x4, 0x8).RCast(); - - bool test = g_pBaseClientState->IsPaused(); #endif } virtual void GetCon(void) const { }