diff options
-rw-r--r-- | engines/scumm/gfx.cpp | 2 |
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) { |