diff options
author | Eugene Sandulenko | 2016-01-15 20:35:08 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-14 17:12:45 +0100 |
commit | 84b382db003492effead11f21e26aa421ea135fe (patch) | |
tree | ca1b38b887d05e9fe5943c982fb7018a49d768a6 | |
parent | 540a2e78e5f4b00c705ec1c6e89fede4e7b0a373 (diff) | |
download | scummvm-rg350-84b382db003492effead11f21e26aa421ea135fe.tar.gz scummvm-rg350-84b382db003492effead11f21e26aa421ea135fe.tar.bz2 scummvm-rg350-84b382db003492effead11f21e26aa421ea135fe.zip |
WAGE: Fix about menu
-rw-r--r-- | engines/wage/world.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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]; |