[Scummvm-cvs-logs] SF.net SVN: scummvm:[50038] scummvm/trunk/engines/parallaction/callables_ns .cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Sat Jun 19 04:51:04 CEST 2010
Revision: 50038
http://scummvm.svn.sourceforge.net/scummvm/?rev=50038&view=rev
Author: peres001
Date: 2010-06-19 02:51:03 +0000 (Sat, 19 Jun 2010)
Log Message:
-----------
Guarded the command execution suspension for NS demo (this was due in r38662 - see bug #2619824).
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/callables_ns.cpp
Modified: scummvm/trunk/engines/parallaction/callables_ns.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/callables_ns.cpp 2010-06-19 02:50:46 UTC (rev 50037)
+++ scummvm/trunk/engines/parallaction/callables_ns.cpp 2010-06-19 02:51:03 UTC (rev 50038)
@@ -453,14 +453,15 @@
}
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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list