diff options
author | Nicola Mettifogo | 2010-06-19 02:51:03 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2010-06-19 02:51:03 +0000 |
commit | 5b3075bd653f888d814abd32b878870c2388668c (patch) | |
tree | a8ac0e2c815b6f1e470519a4aa4b0a9c44894436 | |
parent | 61c40e2bd4cf5f23314d819e70d7eb0a966993cf (diff) | |
download | scummvm-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
-rw-r--r-- | engines/parallaction/callables_ns.cpp | 17 |
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; } |