[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.179,2.180

Travis Howell kirben at users.sourceforge.net
Tue Aug 19 04:12:04 CEST 2003


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

Modified Files:
	script_v2.cpp 
Log Message:

This is only require for v1 maniac


Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.179
retrieving revision 2.180
diff -u -d -r2.179 -r2.180
--- script_v2.cpp	19 Aug 2003 04:47:38 -0000	2.179
+++ script_v2.cpp	19 Aug 2003 11:11:11 -0000	2.180
@@ -968,7 +968,7 @@
 	
 		// For V1 games, the engine must compute the preposition.
 		// In all other Scumm versions, this is done by the sentence script.
-		if ((_version == 1) && (VAR(VAR_SENTENCE_PREPOSITION) == 0)) {
+		if ((_gameId == GID_MANIAC && _version == 1) && (VAR(VAR_SENTENCE_PREPOSITION) == 0)) {
 			if (_verbs[slot].prep == 0xFF) {
 				byte *ptr = getOBCDFromObject(VAR(VAR_SENTENCE_OBJECT1));
 				assert(ptr);





More information about the Scummvm-git-logs mailing list