Skip to content

Commit

Permalink
Use the new menu for all views
Browse files Browse the repository at this point in the history
The other menus are all just cut-down or broken versions of the main one.
  • Loading branch information
num0005 committed Oct 24, 2017
1 parent 952243c commit 8d3320a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion H2Codez/H2Guerilla.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ void __fastcall CCmdUI__Enable_Hook(void *thisptr, BYTE _, int a2)
HMENU WINAPI LoadMenuHook(_In_opt_ HINSTANCE hInstance, _In_ LPCWSTR lpMenuName)
{
int menu_id = reinterpret_cast<int>(lpMenuName);
if (menu_id == 1000 || menu_id == 6014) {
if (menu_id == 1000 || menu_id == 6014 || menu_id == 11 || menu_id == 14) {
return main_menu;
}
return LoadMenuOrginal(hInstance, lpMenuName);
Expand Down

0 comments on commit 8d3320a

Please sign in to comment.