[Scummvm-cvs-logs] CVS: scummvm/queen talk.cpp,1.37,1.38

Gregory Montoir cyx at users.sourceforge.net
Wed Nov 12 13:23:05 CET 2003


Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv10401

Modified Files:
	talk.cpp 
Log Message:
fix the skipped initial talk to floda receptionist

Index: talk.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/talk.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- talk.cpp	12 Nov 2003 10:50:05 -0000	1.37
+++ talk.cpp	12 Nov 2003 21:22:14 -0000	1.38
@@ -473,10 +473,10 @@
 
 	byte *ptr = _joePtr + 2;
 	
-	uint16 hasString = READ_BE_UINT16(ptr); ptr += 2;
+	uint16 hasNotString = READ_BE_UINT16(ptr); ptr += 2;
 
 	char joeString[MAX_STRING_SIZE];
-	if (hasString) {
+	if (!hasNotString) {
 		ptr = getString(ptr, joeString, MAX_STRING_LENGTH);
 		//debug(0, "joeString = '%s'", joeString);
 	}





More information about the Scummvm-git-logs mailing list