[Scummvm-cvs-logs] SF.net SVN: scummvm:[45495] scummvm/trunk/engines/kyra/script_tim.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Oct 29 01:14:09 CET 2009


Revision: 45495
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45495&view=rev
Author:   lordhoto
Date:     2009-10-29 00:14:09 +0000 (Thu, 29 Oct 2009)

Log Message:
-----------
Fix regression in r45414.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/script_tim.cpp

Modified: scummvm/trunk/engines/kyra/script_tim.cpp
===================================================================
--- scummvm/trunk/engines/kyra/script_tim.cpp	2009-10-28 23:32:28 UTC (rev 45494)
+++ scummvm/trunk/engines/kyra/script_tim.cpp	2009-10-29 00:14:09 UTC (rev 45495)
@@ -186,9 +186,10 @@
 
 	_tim->isLoLOutro = (_vm->gameFlags().gameID == GI_LOL) && !scumm_stricmp(filename, "LOLFINAL.TIM");
 	_tim->lolCharacter = 0;
+
+	TIM *r = _tim;
 	_tim = 0;
-
-	return _tim;
+	return r;
 }
 
 void TIMInterpreter::unload(TIM *&tim) const {


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