aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/detection.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-01 19:08:22 +0100
committerMartin Kiewitz2016-02-01 19:08:22 +0100
commit2a4a290d31f7efbd7f35b94930c545ebd14d236d (patch)
tree289d10d011bdba00927e4a981f58e2526910bc72 /engines/agi/detection.cpp
parent9fff1686fc914229d9ed61b94831969449bc4a51 (diff)
downloadscummvm-rg350-2a4a290d31f7efbd7f35b94930c545ebd14d236d.tar.gz
scummvm-rg350-2a4a290d31f7efbd7f35b94930c545ebd14d236d.tar.bz2
scummvm-rg350-2a4a290d31f7efbd7f35b94930c545ebd14d236d.zip
AGI: change how menus are triggered on Non-PC
Diffstat (limited to 'engines/agi/detection.cpp')
-rw-r--r--engines/agi/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index 17e1eefcf3..b54139092c 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -571,7 +571,7 @@ namespace Agi {
bool AgiBase::canLoadGameStateCurrently() {
if (!(getGameType() == GType_PreAGI)) {
- if (getFlag(VM_FLAG_MENUS_WORK)) {
+ if (getFlag(VM_FLAG_MENUS_ACCESSIBLE)) {
if (!_noSaveLoadAllowed) {
if (!cycleInnerLoopIsActive()) {
// We can't allow to restore a game, while inner loop is active
@@ -592,7 +592,7 @@ bool AgiBase::canSaveGameStateCurrently() {
return true;
if (!(getGameType() == GType_PreAGI)) {
- if (getFlag(VM_FLAG_MENUS_WORK)) {
+ if (getFlag(VM_FLAG_MENUS_ACCESSIBLE)) {
if (!_noSaveLoadAllowed) {
if (!cycleInnerLoopIsActive()) {
if (promptIsEnabled()) {