aboutsummaryrefslogtreecommitdiff
path: root/sword1/control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword1/control.cpp')
-rw-r--r--sword1/control.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sword1/control.cpp b/sword1/control.cpp
index eddb799e2f..5d71435f1b 100644
--- a/sword1/control.cpp
+++ b/sword1/control.cpp
@@ -981,6 +981,8 @@ void Control::doRestore(void) {
Logic::_scriptVars[CHANGE_STANCE] = STAND;
Logic::_scriptVars[CHANGE_PLACE] = cpt->o_place;
SwordEngine::_systemVars.justRestoredGame = 1;
+ if (SwordEngine::_systemVars.isDemo)
+ Logic::_scriptVars[PLAYINGDEMO] = 1;
}
void Control::delay(uint32 msecs) {