[Scummvm-cvs-logs] SF.net SVN: scummvm: [21698] scummvm/trunk/engines/cine/script.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Apr 8 10:52:01 CEST 2006


Revision: 21698
Author:   eriktorbjorn
Date:     2006-04-08 10:51:20 -0700 (Sat, 08 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21698&view=rev

Log Message:
-----------
This is probably what o1_removeLabel() should do. Is it used anywhere?

Modified Paths:
--------------
    scummvm/trunk/engines/cine/script.cpp
Modified: scummvm/trunk/engines/cine/script.cpp
===================================================================
--- scummvm/trunk/engines/cine/script.cpp	2006-04-08 17:19:07 UTC (rev 21697)
+++ scummvm/trunk/engines/cine/script.cpp	2006-04-08 17:51:20 UTC (rev 21698)
@@ -1437,7 +1437,11 @@
 }
 
 void o1_removeLabel() {
-	warning("STUB: o1_removeLabel()");
+	// TODO: verify this
+	byte labelIdx = getNextByte();
+
+	DEBUG_SCRIPT(_currentLine, "removeLabel(%d)", labelIdx);
+	_currentScriptElement->stack[labelIdx] = -1;
 }
 
 void o1_loop() {


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