diff options
author | BDKPlayer <55560692+BDKPlayer@users.noreply.github.com> | 2020-06-04 17:31:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-04 17:31:12 +0200 |
commit | 106a7257fe6f0a6edf717b07bd48a431da1fd1e0 (patch) | |
tree | b33f4a2deea3e9d759b719982c96b02fa842f689 /Core.cpp | |
parent | 35f1e21263097bf044a866817bdeeff7da651f77 (diff) | |
parent | 0ff50c5e1fddb6d7b0bb2c5908b0af9fe8fff887 (diff) |
Merge pull request #5 from lnslbrty/master
fixed several warnings
Diffstat (limited to 'Core.cpp')
-rw-r--r-- | Core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |