[Scummvm-cvs-logs] scummvm master -> a0661328b94f0d452995da4f91318d0952ab8346
eriktorbjorn
eriktorbjorn at telia.com
Sat Feb 7 21:58:57 CET 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
a0661328b9 SCUMM: Fix detection of the DoTT Maniac Mansion easter egg target
Commit: a0661328b94f0d452995da4f91318d0952ab8346
https://github.com/scummvm/scummvm/commit/a0661328b94f0d452995da4f91318d0952ab8346
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2015-02-07T21:55:24+01:00
Commit Message:
SCUMM: Fix detection of the DoTT Maniac Mansion easter egg target
It's the key, not the gameid, that is the proper target name. In
my case, the key for that version of MM had the target name
"maniac-old" and gameid "maniac" (can you tell I've messed around
with this file a bit on my own?), so it tried to use "maniac" as
the target, which happened to be the target name for the enhanced
version instead.
Changed paths:
engines/scumm/scumm.cpp
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 7d927b0..99b4e69 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -2612,7 +2612,7 @@ bool ScummEngine::startManiac() {
if (path.hasPrefix(currentPath)) {
path.erase(0, currentPath.size() + 1);
if (path.equalsIgnoreCase("maniac")) {
- maniacTarget = dom.getVal("gameid");
+ maniacTarget = iter->_key;
break;
}
}
More information about the Scummvm-git-logs
mailing list