[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.263,1.264

Max Horn fingolfin at users.sourceforge.net
Thu Aug 5 13:15:15 CEST 2004


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

Modified Files:
	actor.cpp 
Log Message:
Fix for bug #908434 (COMI: Using the ventriloquism book on Blondebeard acts weird)

Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.263
retrieving revision 1.264
diff -u -d -r1.263 -r1.264
--- actor.cpp	28 Jul 2004 11:56:14 -0000	1.263
+++ actor.cpp	5 Aug 2004 20:14:43 -0000	1.264
@@ -1219,7 +1219,7 @@
 			if ((_version <= 7 && !_keepText) || (_version == 8 && VAR(VAR_HAVE_MSG)))
 				stopTalk();
 			setTalkingActor(a->number);
-			if ((_version == 8) || (_version <= 7 && !_string[0].no_talk_anim)) {
+			if (!_string[0].no_talk_anim) {
 				a->runActorTalkScript(a->talkStartFrame);
 				_useTalkAnims = true;
 			}
@@ -1275,7 +1275,7 @@
 	if (act && act < 0x80) {
 		Actor *a = derefActor(act, "stopTalk");
 		if (a->isInCurrentRoom()) {
-			if (_version == 8 || (_version == 7 && !_string[0].no_talk_anim) || (_version <= 6 && _useTalkAnims)) {
+			if ((_version >= 7 && !_string[0].no_talk_anim) || (_version <= 6 && _useTalkAnims)) {
 				a->runActorTalkScript(a->talkStopFrame);
 				_useTalkAnims = false;
 			}





More information about the Scummvm-git-logs mailing list