From eaeaa28d2343f7e4df7f5193853076420d39ab71 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Fri, 15 Jan 2016 00:26:28 +0100 Subject: [PATCH] Temporary fix for the connect menu, but it doesn't solve the actual problem! --- src/Components/Modules/Menus.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Components/Modules/Menus.cpp b/src/Components/Modules/Menus.cpp index e9ba3e4a..f55ea39f 100644 --- a/src/Components/Modules/Menus.cpp +++ b/src/Components/Modules/Menus.cpp @@ -610,14 +610,11 @@ namespace Components auto newMenus = Menus::LoadMenu(name); if (newMenus.size()) newMenu = newMenus[0]; - OutputDebugString(Utils::VA("Reloaded: %s", name.data())); - // Now replace the destroyed menu with the new one in the stack for (int i = 0; i < dc->menuCount; i++) { if (dc->Menus[i] == menu) { - OutputDebugString(Utils::VA("Replaced: %s", name.data())); dc->Menus[i] = newMenu; } } @@ -727,7 +724,7 @@ namespace Components Utils::Hook(0x487240, Menus::FindMenuByName, HOOK_JUMP).Install()->Quick(); // Load menus ingame - Utils::Hook(0x41C178, Menus::AddMenuListHook, HOOK_CALL).Install()->Quick(); + //Utils::Hook(0x41C178, Menus::AddMenuListHook, HOOK_CALL).Install()->Quick(); // disable the 2 new tokens in ItemParse_rect Utils::Hook::Set(0x640693, 0xEB);