From 3ca4d10d180f5c6e42e2cb28b21ac67a5460dd86 Mon Sep 17 00:00:00 2001 From: Yimura Date: Thu, 19 May 2022 15:59:47 +0200 Subject: [PATCH] chore: moved spectate check patch --- BigBaseV2/src/pointers.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BigBaseV2/src/pointers.cpp b/BigBaseV2/src/pointers.cpp index 86fff265..5ecf32d1 100644 --- a/BigBaseV2/src/pointers.cpp +++ b/BigBaseV2/src/pointers.cpp @@ -149,6 +149,7 @@ namespace big main_batch.add("RCOE-Patch", "48 89 5C 24 ? 57 48 83 EC 20 8B D9 E8 ? ? ? ? ? ? ? ? 8B CB", [this](memory::handle ptr) { m_spectator_check = ptr.add(0x13).as(); + *m_spectator_check = 0x9090; }); // Replay Interface @@ -271,8 +272,6 @@ namespace big if (!m_hwnd) throw std::runtime_error("Failed to find the game's window."); - *m_spectator_check = 0x9090; - g_pointers = this; }