diff options
author | Eugene Sandulenko | 2018-06-23 16:01:43 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-06-29 13:31:55 +0200 |
commit | cfa649d7ac04ea087537f03da9a59b1c5aedcdb2 (patch) | |
tree | 7843323aa399893b04d9214bd6f5d9865df60481 /engines/mohawk/riven_scripts.cpp | |
parent | 24977b814cbff4f75a133370506256e8c7c40631 (diff) | |
download | scummvm-rg350-cfa649d7ac04ea087537f03da9a59b1c5aedcdb2.tar.gz scummvm-rg350-cfa649d7ac04ea087537f03da9a59b1c5aedcdb2.tar.bz2 scummvm-rg350-cfa649d7ac04ea087537f03da9a59b1c5aedcdb2.zip |
MOHAWK: RIVEN: Restrict new menu to 25th Anniversary games
Diffstat (limited to 'engines/mohawk/riven_scripts.cpp')
-rw-r--r-- | engines/mohawk/riven_scripts.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mohawk/riven_scripts.cpp b/engines/mohawk/riven_scripts.cpp index a2dd69d49a..3547302c88 100644 --- a/engines/mohawk/riven_scripts.cpp +++ b/engines/mohawk/riven_scripts.cpp @@ -366,7 +366,8 @@ void RivenScript::applyCardPatches(MohawkEngine_Riven *vm, uint32 cardGlobalId, // Override the main menu new game script to call an external command. // This way we can reset all the state when starting a new game while a game is already started. - if (cardGlobalId == 0xE2E && scriptType == kMouseDownScript && hotspotId == 16) { + if (cardGlobalId == 0xE2E && scriptType == kMouseDownScript && hotspotId == 16 + && (vm->getFeatures() & GF_25TH)) { shouldApplyPatches = true; _commands.clear(); |