[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.112,1.113

Jamieson Christian jamieson630 at users.sourceforge.net
Thu Jun 12 10:34:12 CEST 2003


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

Modified Files:
	script.cpp 
Log Message:
Fixed MSVC warning

Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -d -r1.112 -r1.113
--- script.cpp	12 Jun 2003 16:38:40 -0000	1.112
+++ script.cpp	12 Jun 2003 17:33:45 -0000	1.113
@@ -535,7 +535,7 @@
 
 		// stay in sync with loom cd subtitle var
 		if (_gameId == GID_LOOM256 && var == VAR_NOSUBTITLES && (value == 0 || value == 1))
-			_noSubtitles = value;
+			_noSubtitles = (value != 0);
 
 		if ((_varwatch == (int)var) || (_varwatch == 0)) {
 			if (vm.slot[_currentScript].number < 100)





More information about the Scummvm-git-logs mailing list