[Scummvm-cvs-logs] SF.net SVN: scummvm: [21278] scummvm/trunk/engines/scumm/gfx.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Tue Mar 14 04:12:04 CET 2006
Revision: 21278
Author: kirben
Date: 2006-03-14 04:11:16 -0800 (Tue, 14 Mar 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21278&view=rev
Log Message:
-----------
Adjust one last spot, for previous VAR_CURRENT_LIGHTS changes
Modified Paths:
--------------
scummvm/trunk/engines/scumm/gfx.cpp
Modified: scummvm/trunk/engines/scumm/gfx.cpp
===================================================================
--- scummvm/trunk/engines/scumm/gfx.cpp 2006-03-14 12:06:37 UTC (rev 21277)
+++ scummvm/trunk/engines/scumm/gfx.cpp 2006-03-14 12:11:16 UTC (rev 21278)
@@ -1180,7 +1180,7 @@
}
bool ScummEngine::isLightOn() const {
- return (VAR_CURRENT_LIGHTS == 0xFF) || (getCurrentLights() & LIGHTMODE_screen);
+ return (_game.version >= 6) || (getCurrentLights() & LIGHTMODE_screen);
}
void ScummEngine::setShake(int mode) {
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