[Scummvm-cvs-logs] SF.net SVN: scummvm: [27976] scummvm/trunk/engines/saga/sfuncs.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sun Jul 8 22:46:21 CEST 2007


Revision: 27976
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27976&view=rev
Author:   thebluegr
Date:     2007-07-08 13:46:21 -0700 (Sun, 08 Jul 2007)

Log Message:
-----------
Reverted commit 27948. Cutaways in sfScriptGotoScene are cleared by calling clearcutaway directly again, as calling it using an event does not clear the cutaway when it should (which caused problems in the character selection screen)

Modified Paths:
--------------
    scummvm/trunk/engines/saga/sfuncs.cpp

Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp	2007-07-08 20:15:43 UTC (rev 27975)
+++ scummvm/trunk/engines/saga/sfuncs.cpp	2007-07-08 20:46:21 UTC (rev 27976)
@@ -565,13 +565,7 @@
 		// Since it doesn't look like the IHNM scripts remove the
 		// cutaway after the intro, this is probably the best place to
 		// to it.
-		Event event;
-		event.type = kEvTImmediate;
-		event.code = kCutawayEvent;
-		event.op = kEventClear;
-		event.time = 0;
-		event.duration = 0;
-		_vm->_events->queue(&event);
+		_vm->_anim->clearCutaway();
 	}
 
 	// It is possible to leave scene when converse panel is on,


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