From 97ed6a2af73608dad953e740f58432921a6ac700 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 21 Aug 2017 19:40:05 +0200 Subject: GRAPHICS: MACGUI: Pass command id when creating menu to avoid namespace clashes This fixes Command menu in WAGE. --- engines/wage/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp index 53f83bb97c..ffc4e41e66 100644 --- a/engines/wage/gui.cpp +++ b/engines/wage/gui.cpp @@ -199,7 +199,7 @@ bool Gui::processSceneEvents(WindowClick click, Common::Event &event) { // Menu stuff //////////////// void Gui::regenCommandsMenu() { - _menu->createSubMenuFromString(_commandsMenuId, _engine->_world->_commandsMenu.c_str()); + _menu->createSubMenuFromString(_commandsMenuId, _engine->_world->_commandsMenu.c_str(), kMenuActionCommand); } void Gui::regenWeaponsMenu() { -- cgit v1.2.3