mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-08 02:13:34 +08:00
chore: moved spectate check patch
This commit is contained in:
parent
8cf086adb0
commit
3ca4d10d18
@ -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<PUSHORT>();
|
||||
*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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user