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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Mar 28 02:07:17 CET 2008


Revision: 31283
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31283&view=rev
Author:   lordhoto
Date:     2008-03-27 18:07:16 -0700 (Thu, 27 Mar 2008)

Log Message:
-----------
Oops fixed wrong o2_delaySecs.

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

Modified: scummvm/trunk/engines/kyra/script_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/script_v2.cpp	2008-03-28 01:03:54 UTC (rev 31282)
+++ scummvm/trunk/engines/kyra/script_v2.cpp	2008-03-28 01:07:16 UTC (rev 31283)
@@ -614,13 +614,8 @@
 }
 
 int KyraEngine_v2::o2_delaySecs(ScriptState *script) {
-	debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v2::o2_delaySecs(%p) (%d, %d)", (const void *)script, stackPos(0), stackPos(1));
-	if (stackPos(1))
-		warning("unimplemented o2_delaySecs subfunction");
-	//if (stackPos(1))
-	//	sub_27100(stackPos(0) * _tickLength);
-	//else
-		delay(stackPos(0) * 1000, true);
+	debugC(3, kDebugLevelScriptFuncs, "KyraEngine_v2::o2_delaySecs(%p) (%d)", (const void *)script, stackPos(0));
+	delay(stackPos(0) * 1000, true);
 	return 0;
 }
 


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