SCUMM: Make MI2 Guybrush dialog when getting Rapp's map optional

This commit is contained in:
Torbjörn Andersson 2022-03-17 16:52:31 +01:00 committed by Torbjörn Andersson
parent f4b1919da9
commit 20f9997300
2 changed files with 3 additions and 2 deletions

View File

@ -229,7 +229,7 @@ const ExtraGuiOptions ScummMetaEngineDetection::getExtraGuiOptions(const Common:
const Common::String guiOptions = parseGameGUIOptions(guiOptionsString);
const Common::Platform platform = Common::parsePlatform(ConfMan.get("platform", target));
if (target.empty() || gameid == "monkey") {
if (target.empty() || gameid == "monkey" || gameid == "monkey2") {
options.push_back(enableEnhancements);
}

View File

@ -67,7 +67,8 @@ void ScummEngine::printString(int m, const byte *msg) {
if (_game.id == GID_MONKEY2 && _roomResource == 19 &&
vm.slot[_currentScript].number == 203 &&
_actorToPrintStrFor == 255 && strcmp((const char *)msg, " ") == 0 &&
getOwner(200) == VAR(VAR_EGO) && VAR(VAR_HAVE_MSG)) {
getOwner(200) == VAR(VAR_EGO) && VAR(VAR_HAVE_MSG) &&
ConfMan.getBool("enable_enhancements")) {
return;
}