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

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Thu Aug 6 09:42:15 CEST 2009


Revision: 43087
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43087&view=rev
Author:   dkasak13
Date:     2009-08-06 07:42:14 +0000 (Thu, 06 Aug 2009)

Log Message:
-----------
Fixed the 'ESC room' feature to work as intended.

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

Modified: scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp	2009-08-06 07:40:14 UTC (rev 43086)
+++ scummvm/branches/gsoc2009-draci/engines/draci/draci.cpp	2009-08-06 07:42:14 UTC (rev 43087)
@@ -206,9 +206,14 @@
 
 				// Check if there is an escape room defined for the current room
 				if (escRoom != kNoEscRoom) {				
+
+					// Schedule room change
 					_game->setRoomNum(_game->getEscRoom());
 					_game->setGateNum(0);
 					_game->_roomChange = true;
+
+					// End any currently running GPL programs
+					_script->endCurrentProgram();
 				}
 			}
 			// Show walking map toggle


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