Guarded the command execution suspension for NS demo (this was due in r38662 - see bug #2619824).

svn-id: r50038
This commit is contained in:
Nicola Mettifogo 2010-06-19 02:51:03 +00:00
parent 61c40e2bd4
commit 5b3075bd65

View File

@ -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;
}