[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.122,2.123

James Brown ender at users.sourceforge.net
Thu Jan 16 11:24:09 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv24134

Modified Files:
	script_v8.cpp 
Log Message:
Small change to make actor talk anims look better


Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.122
retrieving revision 2.123
diff -u -d -r2.122 -r2.123
--- script_v8.cpp	16 Jan 2003 13:55:57 -0000	2.122
+++ script_v8.cpp	16 Jan 2003 19:23:55 -0000	2.123
@@ -1592,7 +1592,8 @@
 	case 0xDA:		// lipSyncWidth
 	case 0xDB:		// lipSyncHeight
 		// TODO - get lip sync data for the currently active voice
-		push(255);
+		// HACK - return random values for now, to make things look half decent
+		push(_rnd.getRandomNumber(255));
 		break;
 	case 0xDC:		// actorTalkAnimation
 		{





More information about the Scummvm-git-logs mailing list