aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/gfx.cpp
diff options
context:
space:
mode:
authorAndrew Kurushin2006-03-24 18:33:47 +0000
committerAndrew Kurushin2006-03-24 18:33:47 +0000
commit3331de7105fe8ece9268ad0bc9123dba01a33a2b (patch)
tree09d41549052a6057d9af4bbc0c8a17cc3669e4af /engines/scumm/gfx.cpp
parent62d2bcf7359cada8c97e84cf6bf3831198576979 (diff)
downloadscummvm-rg350-3331de7105fe8ece9268ad0bc9123dba01a33a2b.tar.gz
scummvm-rg350-3331de7105fe8ece9268ad0bc9123dba01a33a2b.tar.bz2
scummvm-rg350-3331de7105fe8ece9268ad0bc9123dba01a33a2b.zip
Fix MSVC warnings #3
svn-id: r21442
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r--engines/scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index de8d07b7d1..53a0cbad96 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1185,7 +1185,7 @@ int ScummEngine::getCurrentLights() const {
}
bool ScummEngine::isLightOn() const {
- return (getCurrentLights() & LIGHTMODE_room_lights_on);
+ return (getCurrentLights() & LIGHTMODE_room_lights_on) != 0;
}
void ScummEngine::setShake(int mode) {