aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven_stacks/aspit.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2018-06-23 16:01:43 +0200
committerBastien Bouclet2018-06-29 13:31:55 +0200
commitcfa649d7ac04ea087537f03da9a59b1c5aedcdb2 (patch)
tree7843323aa399893b04d9214bd6f5d9865df60481 /engines/mohawk/riven_stacks/aspit.cpp
parent24977b814cbff4f75a133370506256e8c7c40631 (diff)
downloadscummvm-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_stacks/aspit.cpp')
-rw-r--r--engines/mohawk/riven_stacks/aspit.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/mohawk/riven_stacks/aspit.cpp b/engines/mohawk/riven_stacks/aspit.cpp
index 3729a1710d..b6cd17bf22 100644
--- a/engines/mohawk/riven_stacks/aspit.cpp
+++ b/engines/mohawk/riven_stacks/aspit.cpp
@@ -90,6 +90,9 @@ void ASpit::xastartupbtnhide(const ArgumentArray &args) {
// The original game hides the start/setup buttons depending on an ini entry.
// It's safe to ignore this command.
+ if (!(_vm->getFeatures() & GF_25TH))
+ return;
+
Common::File file;
const char *fontname;