[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.228,2.229

Pawel Kolodziejski aquadran at users.sourceforge.net
Thu Feb 12 22:49:03 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23046

Modified Files:
	script_v8.cpp 
Log Message:
proper usage actor talkVolume

Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.228
retrieving revision 2.229
diff -u -d -r2.228 -r2.229
--- script_v8.cpp	9 Feb 2004 11:24:00 -0000	2.228
+++ script_v8.cpp	13 Feb 2004 06:43:10 -0000	2.229
@@ -1078,18 +1078,12 @@
 		break;
 	case 0x87:		// SO_ACTOR_VOLUME Set volume of actor speech
 		a->talkVolume = pop();
-		_imuseDigital->setVolume(kTalkSoundID, a->talkVolume);
 		break;
 	case 0x88:		// SO_ACTOR_FREQUENCY Set frequency of actor speech
 		a->talkFrequency = pop();
 		break;
 	case 0x89:		// SO_ACTOR_PAN
-		// 0 = left, 64 = middle, 127 = right.
 		a->talkPan = pop();
-		if (_actorToPrintStrFor == a->number) {
-			_imuseDigital->setPan(kTalkSoundID, a->talkPan);
-		}
-
 		break;
 	default:
 		error("o8_actorOps: default case 0x%x", subOp);





More information about the Scummvm-git-logs mailing list