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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Jul 7 03:11:43 CEST 2007


Revision: 27948
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27948&view=rev
Author:   thebluegr
Date:     2007-07-06 18:11:43 -0700 (Fri, 06 Jul 2007)

Log Message:
-----------
Clear the cutaway via an event in sfScriptGotoScene, instead of calling the function directly

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

Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp	2007-07-07 00:53:16 UTC (rev 27947)
+++ scummvm/trunk/engines/saga/sfuncs.cpp	2007-07-07 01:11:43 UTC (rev 27948)
@@ -565,7 +565,13 @@
 		// Since it doesn't look like the IHNM scripts remove the
 		// cutaway after the intro, this is probably the best place to
 		// to it.
-		_vm->_anim->clearCutaway();
+		Event event;
+		event.type = kEvTImmediate;
+		event.code = kCutawayEvent;
+		event.op = kEventClear;
+		event.time = 0;
+		event.duration = 0;
+		_vm->_events->queue(&event);
 	}
 
 	// 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