[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.106,2.107

Max Horn fingolfin at users.sourceforge.net
Thu May 22 06:19:03 CEST 2003


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

Modified Files:
	script_v2.cpp 
Log Message:
small V2 doSentence tweak

Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.106
retrieving revision 2.107
diff -u -d -r2.106 -r2.107
--- script_v2.cpp	22 May 2003 12:30:19 -0000	2.106
+++ script_v2.cpp	22 May 2003 13:18:54 -0000	2.107
@@ -868,14 +868,14 @@
 		// Execute the sentence
 		_sentenceNum--;
 		
-		if (st->verb != 250) {
+		if (st->verb != 250 && st->verb != 253) {
 			VAR(VAR_ACTIVE_VERB) = st->verb;
 			VAR(VAR_ACTIVE_OBJECT1) = st->objectA;	
 			VAR(VAR_ACTIVE_OBJECT2) = st->objectB;
 
 			runObjectScript(st->objectA, st->verb, false, false, NULL);
 		} else
-			runObjectScript(st->objectA, 253, false, true, NULL);
+			runObjectScript(st->objectA, 253, false, (st->verb == 250), NULL);
 		break;
 	case 2:
 		// Print the sentence





More information about the Scummvm-git-logs mailing list