aboutsummaryrefslogtreecommitdiff
path: root/Core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Core.cpp')
-rw-r--r--Core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Core.cpp b/Core.cpp
index ee5714c..484ccec 100644
--- a/Core.cpp
+++ b/Core.cpp
@@ -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; }