[Scummvm-cvs-logs] SF.net SVN: scummvm: [31962] scummvm/trunk/engines/made/scriptfuncs_rtz.cpp

john_doe at users.sourceforge.net john_doe at users.sourceforge.net
Fri May 9 12:56:04 CEST 2008


Revision: 31962
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31962&view=rev
Author:   john_doe
Date:     2008-05-09 03:56:03 -0700 (Fri, 09 May 2008)

Log Message:
-----------
Added workaround for o1_SNDENERGY

Modified Paths:
--------------
    scummvm/trunk/engines/made/scriptfuncs_rtz.cpp

Modified: scummvm/trunk/engines/made/scriptfuncs_rtz.cpp
===================================================================
--- scummvm/trunk/engines/made/scriptfuncs_rtz.cpp	2008-05-09 07:22:22 UTC (rev 31961)
+++ scummvm/trunk/engines/made/scriptfuncs_rtz.cpp	2008-05-09 10:56:03 UTC (rev 31962)
@@ -552,9 +552,9 @@
 	// This is called while in-game voices are played
 	// Not sure what it's used for
 	// -> It's used to animate mouths when NPCs are talking
-	// Commented out to reduce spam
-	//warning("Unimplemented opcode: o1_SNDENERGY");
-	return 0;
+	// FIXME: This is a workaround for the "sound energy" problem
+	// At least the characters move their lips when talking now
+	return _vm->_rnd->getRandomNumber(5);
 }
 
 int16 ScriptFunctionsRtz::o1_CLEARTEXT(int16 argc, int16 *argv) {


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