SCUMM: Make fixing VGA Loom "Choas" typo optional
This commit is contained in:
parent
52549c1678
commit
2a796cedd7
2 changed files with 2 additions and 2 deletions
|
@ -229,7 +229,7 @@ const ExtraGuiOptions ScummMetaEngineDetection::getExtraGuiOptions(const Common:
|
||||||
const Common::String guiOptions = parseGameGUIOptions(guiOptionsString);
|
const Common::String guiOptions = parseGameGUIOptions(guiOptionsString);
|
||||||
const Common::Platform platform = Common::parsePlatform(ConfMan.get("platform", target));
|
const Common::Platform platform = Common::parsePlatform(ConfMan.get("platform", target));
|
||||||
|
|
||||||
if (target.empty() || gameid == "monkey" || gameid == "monkey2" || gameid == "samnmax") {
|
if (target.empty() || gameid == "monkey" || gameid == "monkey2" || gameid == "samnmax" || (gameid == "loom" && (extra == "VGA" || extra == "Steam"))) {
|
||||||
options.push_back(enableEnhancements);
|
options.push_back(enableEnhancements);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2977,7 +2977,7 @@ void ScummEngine_v5::decodeParseString() {
|
||||||
case 15:{ // SO_TEXTSTRING
|
case 15:{ // SO_TEXTSTRING
|
||||||
const int len = resStrLen(_scriptPointer);
|
const int len = resStrLen(_scriptPointer);
|
||||||
|
|
||||||
if (_game.id == GID_LOOM && vm.slot[_currentScript].number == 95 && strcmp((const char *)_scriptPointer, "I am Choas.") == 0) {
|
if (_game.id == GID_LOOM && vm.slot[_currentScript].number == 95 && strcmp((const char *)_scriptPointer, "I am Choas.") == 0 && ConfMan.getBool("enable_enhancements")) {
|
||||||
// WORKAROUND: This happens when Chaos introduces
|
// WORKAROUND: This happens when Chaos introduces
|
||||||
// herself to bishop Mandible. Of all the places to put
|
// herself to bishop Mandible. Of all the places to put
|
||||||
// a typo...
|
// a typo...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue