[Scummvm-cvs-logs] SF.net SVN: scummvm:[46099] scummvm/trunk/engines/draci/game.cpp

spalek at users.sourceforge.net spalek at users.sourceforge.net
Sun Nov 22 22:27:30 CET 2009


Revision: 46099
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46099&view=rev
Author:   spalek
Date:     2009-11-22 21:27:30 +0000 (Sun, 22 Nov 2009)

Log Message:
-----------
Move setIsReloaded(false) in enterNewRoom() to the right place.

Last commit moved it below, but that cancelled GPL2 programs run right
after loading the game.

Modified Paths:
--------------
    scummvm/trunk/engines/draci/game.cpp

Modified: scummvm/trunk/engines/draci/game.cpp
===================================================================
--- scummvm/trunk/engines/draci/game.cpp	2009-11-22 21:12:23 UTC (rev 46098)
+++ scummvm/trunk/engines/draci/game.cpp	2009-11-22 21:27:30 UTC (rev 46099)
@@ -1279,6 +1279,7 @@
 
 	// Set the appropriate loop status before loading the room
 	setLoopStatus(kStatusGate);
+	setIsReloaded(false);
 
 	// Make sure the possible walking path from the previous room is
 	// cleaned up.  Some rooms (e.g., the map) don't support walking.
@@ -1301,7 +1302,6 @@
 	// Reset the loop status.
 	setLoopStatus(kStatusOrdinary);
 	setExitLoop(false);
-	setIsReloaded(false);
 
 	// Set cursor state
 	// Need to do this after we set the palette since the cursors use it


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