[Scummvm-cvs-logs] SF.net SVN: scummvm: [21440] scummvm/trunk/engines/kyra/saveload.cpp

h00ligan at users.sourceforge.net h00ligan at users.sourceforge.net
Fri Mar 24 10:31:04 CET 2006


Revision: 21440
Author:   h00ligan
Date:     2006-03-24 10:30:34 -0800 (Fri, 24 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21440&view=rev

Log Message:
-----------
Fix MSVC warnings

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/saveload.cpp
Modified: scummvm/trunk/engines/kyra/saveload.cpp
===================================================================
--- scummvm/trunk/engines/kyra/saveload.cpp	2006-03-24 18:15:57 UTC (rev 21439)
+++ scummvm/trunk/engines/kyra/saveload.cpp	2006-03-24 18:30:34 UTC (rev 21440)
@@ -181,8 +181,8 @@
 	if (version >= 4) {
 		_configTextspeed = in->readByte();
 		_configWalkspeed = in->readByte();
-		_configMusic = in->readByte();
-		_configSounds = in->readByte();
+		_configMusic = in->readByte() != 0;
+		_configSounds = in->readByte() != 0;
 		_configVoice = in->readByte();
 	}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list