aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-07-28 01:04:59 +0000
committerFilippos Karapetis2007-07-28 01:04:59 +0000
commit125872c90dbbf68ac423b4e17e0ab51a95d16b91 (patch)
tree88ec204bb90133893eaa340224873270314970e6
parent6c108f552c2a7cca51641fffeb9ad04be666771a (diff)
downloadscummvm-rg350-125872c90dbbf68ac423b4e17e0ab51a95d16b91.tar.gz
scummvm-rg350-125872c90dbbf68ac423b4e17e0ab51a95d16b91.tar.bz2
scummvm-rg350-125872c90dbbf68ac423b4e17e0ab51a95d16b91.zip
The demo version of IHNM has no options panel, therefore the options icon and the options panel shortcuts have been disabled for the IHNM demo
svn-id: r28254
-rw-r--r--engines/saga/interface.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index 423c187450..74ac2155a9 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -337,8 +337,9 @@ int Interface::activate() {
_vm->_script->_skipSpeeches = false;
_vm->_actor->_protagonist->_targetObject = ID_NOTHING;
unlockMode();
- if (_panelMode == kPanelMain || _panelMode == kPanelChapterSelection){
- _saveReminderState = 1;
+ if (_panelMode == kPanelMain || _panelMode == kPanelChapterSelection) {
+ if (_vm->getGameId() != GID_IHNM_DEMO)
+ _saveReminderState = 1;
}
draw();
}
@@ -383,9 +384,11 @@ void Interface::setMode(int mode) {
if (mode == kPanelMain) {
_inMainMode = true;
- _saveReminderState = 1; //TODO: blinking timeout
+ if (_vm->getGameId() != GID_IHNM_DEMO)
+ _saveReminderState = 1; //TODO: blinking timeout
} else if (mode == kPanelChapterSelection) {
- _saveReminderState = 1;
+ if (_vm->getGameId() != GID_IHNM_DEMO)
+ _saveReminderState = 1;
} else {
if (mode == kPanelConverse) {
_inMainMode = false;