From 84b382db003492effead11f21e26aa421ea135fe Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 15 Jan 2016 20:35:08 +0100 Subject: WAGE: Fix about menu --- engines/wage/world.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp index 79e428a1a8..af68e6ab32 100644 --- a/engines/wage/world.cpp +++ b/engines/wage/world.cpp @@ -112,6 +112,8 @@ bool World::loadWorld(Common::MacResManager *resMan) { if ((resArray = resMan->getResIDArray(MKTAG('V','E','R','S'))).size() == 0) return false; + _name = resMan->getBaseFileName(); + if (resArray.size() > 1) warning("Too many VERS resources"); @@ -267,7 +269,7 @@ bool World::loadWorld(Common::MacResManager *resMan) { if (res != NULL) { Common::StringArray *menu = readMenu(res); _aboutMenuItemName = ""; - Common::String string = menu->operator[](0); + Common::String string = menu->operator[](1); for (int i = 0; i < string.size() && string[i] != ';'; i++) // Read token _aboutMenuItemName += string[i]; -- cgit v1.2.3