aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/callables_ns.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2010-06-19 02:51:03 +0000
committerNicola Mettifogo2010-06-19 02:51:03 +0000
commit5b3075bd653f888d814abd32b878870c2388668c (patch)
treea8ac0e2c815b6f1e470519a4aa4b0a9c44894436 /engines/parallaction/callables_ns.cpp
parent61c40e2bd4cf5f23314d819e70d7eb0a966993cf (diff)
downloadscummvm-rg350-5b3075bd653f888d814abd32b878870c2388668c.tar.gz
scummvm-rg350-5b3075bd653f888d814abd32b878870c2388668c.tar.bz2
scummvm-rg350-5b3075bd653f888d814abd32b878870c2388668c.zip
Guarded the command execution suspension for NS demo (this was due in r38662 - see bug #2619824).
svn-id: r50038
Diffstat (limited to 'engines/parallaction/callables_ns.cpp')
-rw-r--r--engines/parallaction/callables_ns.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/engines/parallaction/callables_ns.cpp b/engines/parallaction/callables_ns.cpp
index a493523301..cfe6ad8954 100644
--- a/engines/parallaction/callables_ns.cpp
+++ b/engines/parallaction/callables_ns.cpp
@@ -453,14 +453,15 @@ void Parallaction_ns::_c_startIntro(void *parm) {
}
void Parallaction_ns::_c_endIntro(void *parm) {
- // NOTE: suspend command execution queue, to
- // avoid running the QUIT command before
- // credits are displayed. This solves bug
- // #2619824.
- // Execution of the command list will resume
- // as soon as runGameFrame is run.
- _cmdExec->suspend();
-
+ if (getFeatures() & GF_DEMO) {
+ // NOTE: suspend command execution queue, to
+ // avoid running the QUIT command before
+ // credits are displayed. This solves bug
+ // #2619824.
+ // Execution of the command list will resume
+ // as soon as runGameFrame is run.
+ _cmdExec->suspend();
+ }
startCreditSequence();
_intro = false;
}