[Scummvm-cvs-logs] CVS: scummvm/scumm string.cpp,1.152,1.153

Jonathan Gray khalek at users.sourceforge.net
Thu Aug 28 03:12:02 CEST 2003


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

Modified Files:
	string.cpp 
Log Message:
revert previous broken commit which didn't logically make sense as it was checking for negative on an unsigned number, and would have broken several things if it compiled

Index: string.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/string.cpp,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- string.cpp	28 Aug 2003 10:00:49 -0000	1.152
+++ string.cpp	28 Aug 2003 10:10:32 -0000	1.153
@@ -310,7 +310,7 @@
 			if (_version <= 3) {
 				_charset->printChar(c);
 			} else {
-				if (_noSubtitles && (_haveMsg == 0xFE || _sound->_talkChannelHandle >= 0)) {
+				if (_noSubtitles && (_haveMsg == 0xFE || _sound->_talkChannelHandle)) {
 					// Subtitles are turned off, and there is a voice version
 					// of this message -> don't print it. 
 				} else





More information about the Scummvm-git-logs mailing list