[Scummvm-cvs-logs] SF.net SVN: scummvm:[54028] scummvm/trunk/engines/tinsel/tinsel.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Nov 1 21:59:18 CET 2010


Revision: 54028
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54028&view=rev
Author:   thebluegr
Date:     2010-11-01 20:59:17 +0000 (Mon, 01 Nov 2010)

Log Message:
-----------
TINSEL: Fixed two places that weren't reset when exiting to the launcher and reentering the game. There could be (and most likely are) others as well

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/tinsel.cpp

Modified: scummvm/trunk/engines/tinsel/tinsel.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/tinsel.cpp	2010-11-01 20:49:55 UTC (rev 54027)
+++ scummvm/trunk/engines/tinsel/tinsel.cpp	2010-11-01 20:59:17 UTC (rev 54028)
@@ -80,6 +80,7 @@
 // In BG.CPP
 extern void SetDoFadeIn(bool tf);
 extern void DropBackground();
+extern BACKGND *pCurBgnd;
 
 // In CURSOR.CPP
 extern void CursorProcess(CORO_PARAM, const void *);
@@ -1033,6 +1034,9 @@
 	// Write configuration
 	_vm->_config->writeToDisk();
 
+	EndScene();
+	pCurBgnd = NULL;
+
 	return Common::kNoError;
 }
 


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