diff options
Diffstat (limited to 'Core.cpp')
-rw-r--r-- | Core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -48,7 +48,7 @@ void __fastcall OnCreateUnitHook(Registers* registers) __try { const auto objectManager = reinterpret_cast<ObjectManager*>(registers->rcx); - const int totalPlayers = Engine::Get()->GetTotalPlayers(); + const int64_t totalPlayers = Engine::Get()->GetTotalPlayers(); bool foundArray = false; PlayerArray* playerArray = Engine::Get()->GetPlayerArray(); @@ -199,7 +199,7 @@ void Core::OnPresent() return; } //printf(" playerArray %p", playerArray); - int totalPlayers = Engine::Get()->GetTotalPlayers(); + int64_t totalPlayers = Engine::Get()->GetTotalPlayers(); static bool openOverlay = true; if (GetAsyncKeyState(VK_INSERT) & 1) { openOverlay = !openOverlay; } |