From 9432d618fed001f2405922fba0d7f7822cea6c23 Mon Sep 17 00:00:00 2001 From: ermaccer <40604575+ermaccer@users.noreply.github.com> Date: Mon, 11 Oct 2021 14:39:45 +0200 Subject: [PATCH] position fix --- MK11Hook/code/mk11.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MK11Hook/code/mk11.cpp b/MK11Hook/code/mk11.cpp index ec1b841..55eae0f 100644 --- a/MK11Hook/code/mk11.cpp +++ b/MK11Hook/code/mk11.cpp @@ -304,7 +304,7 @@ void MK11Hooks::HookSetSelectScreen(int64 ptr, PLAYER_NUM plr, int teamNo, char { if (plr <= 1 && teamNo <= 3) { - int64 chr = 120 * ((int)teamNo + 4i64 * (int)plr) + ptr + 448; + int64 chr = 120 * ((int)teamNo + 4 * (int)plr) + ptr + 448; if (TheMenu->m_nCurrentCharModifier == MODIFIER_SCREEN && (TheMenu->m_bPlayer1Modifier || TheMenu->m_bPlayer2Modifier)) { @@ -363,7 +363,7 @@ void GetCharacterPosition(FVector * vec, PLAYER_NUM plr) { int64 object = GetInfo(plr); int64 ptr = *(int64*)(object + 32); - ((int64(__fastcall*)(int64, FVector*))_addr(0x141150910))(ptr, vec); + ((int64(__fastcall*)(int64, FVector*))_addr(0x1411509E0))(ptr, vec); } void HideHUD()