diff options
author | Eugene Sandulenko | 2017-08-21 19:40:05 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-21 19:40:05 +0200 |
commit | 97ed6a2af73608dad953e740f58432921a6ac700 (patch) | |
tree | d56ac0a12eeb3091b7570f106d92a14ba100e784 /engines/wage | |
parent | 203b5138fa9bd32b2b218566639b9dfd7c53bd2c (diff) | |
download | scummvm-rg350-97ed6a2af73608dad953e740f58432921a6ac700.tar.gz scummvm-rg350-97ed6a2af73608dad953e740f58432921a6ac700.tar.bz2 scummvm-rg350-97ed6a2af73608dad953e740f58432921a6ac700.zip |
GRAPHICS: MACGUI: Pass command id when creating menu to avoid namespace clashes
This fixes Command menu in WAGE.
Diffstat (limited to 'engines/wage')
-rw-r--r-- | engines/wage/gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |