aboutsummaryrefslogtreecommitdiff
path: root/Core.cpp
diff options
context:
space:
mode:
authorBDKPlayer <55560692+BDKPlayer@users.noreply.github.com>2020-06-04 17:31:12 +0200
committerGitHub <noreply@github.com>2020-06-04 17:31:12 +0200
commit106a7257fe6f0a6edf717b07bd48a431da1fd1e0 (patch)
treeb33f4a2deea3e9d759b719982c96b02fa842f689 /Core.cpp
parent35f1e21263097bf044a866817bdeeff7da651f77 (diff)
parent0ff50c5e1fddb6d7b0bb2c5908b0af9fe8fff887 (diff)
Merge pull request #5 from lnslbrty/master
fixed several warnings
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 ccb8dcc..dd709bb 100644
--- a/Core.cpp
+++ b/Core.cpp
@@ -49,7 +49,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();
@@ -201,7 +201,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; }