[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.164,2.165

Max Horn fingolfin at users.sourceforge.net
Tue Aug 5 09:52:06 CEST 2003


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

Modified Files:
	script_v2.cpp 
Log Message:
fix warning / whitespace

Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.164
retrieving revision 2.165
diff -u -d -r2.164 -r2.165
--- script_v2.cpp	5 Aug 2003 16:48:56 -0000	2.164
+++ script_v2.cpp	5 Aug 2003 16:51:40 -0000	2.165
@@ -934,7 +934,7 @@
 	static char sentence[256];
 	const byte *temp;
 	int slot = getVerbSlot(VAR(VAR_SENTENCE_VERB),0);
-	printf("slot is %d\n");
+
 	if (!(_userState & 32))
 		return;
 
@@ -951,16 +951,16 @@
 		}
 	
 		if ((_version == 1) && (VAR(VAR_SENTENCE_PREPOSITION) == 0)) {
-        	        byte *ptr = getOBCDFromObject(VAR(VAR_SENTENCE_OBJECT1)) + 12;
+			byte *ptr = getOBCDFromObject(VAR(VAR_SENTENCE_OBJECT1)) + 12;
 			VerbSlot *vs = &_verbs[slot];
-
+	
 			if (ptr) {
 				if (vs->prep == 0)
 					VAR(VAR_SENTENCE_PREPOSITION) = (*ptr >> 5);
 				else
 					VAR(VAR_SENTENCE_PREPOSITION) = vs->prep;
 			}
-        	}
+		}
 	}
 
 	if (0 < VAR(VAR_SENTENCE_PREPOSITION) && VAR(VAR_SENTENCE_PREPOSITION) <= 4) {





More information about the Scummvm-git-logs mailing list