[Scummvm-cvs-logs] SF.net SVN: scummvm:[43306] scummvm/branches/gsoc2009-draci/engines/draci/ game.cpp

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Wed Aug 12 06:22:47 CEST 2009


Revision: 43306
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43306&view=rev
Author:   dkasak13
Date:     2009-08-12 04:22:47 +0000 (Wed, 12 Aug 2009)

Log Message:
-----------
Whenever we enter the top-level loop, disable exiting by default (fixes the high-five scene between Bert and Eveline which ended too fast).

Modified Paths:
--------------
    scummvm/branches/gsoc2009-draci/engines/draci/game.cpp

Modified: scummvm/branches/gsoc2009-draci/engines/draci/game.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/game.cpp	2009-08-12 04:18:45 UTC (rev 43305)
+++ scummvm/branches/gsoc2009-draci/engines/draci/game.cpp	2009-08-12 04:22:47 UTC (rev 43306)
@@ -160,6 +160,10 @@
 void Game::start() {
 	while (!shouldQuit()) {
 
+		// Whenever the top-level loop is entered, it should not finish unless
+		// the exit is triggered by a script
+		_shouldExitLoop = false;
+
 		// If the scheduled room differs from the current one, do a room change
 		if (_newRoom != _currentRoom._roomNum) {
 


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