aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-07-16 14:13:52 +0000
committerMax Horn2002-07-16 14:13:52 +0000
commit2103ef35fff6da34c3d91480e755a862a4013501 (patch)
tree4c9830b88d31aa23f6bde76209205e1d634d7073
parentfb184d1942985e57c05bfd74826b03de463a94ac (diff)
downloadscummvm-rg350-2103ef35fff6da34c3d91480e755a862a4013501.tar.gz
scummvm-rg350-2103ef35fff6da34c3d91480e755a862a4013501.tar.bz2
scummvm-rg350-2103ef35fff6da34c3d91480e755a862a4013501.zip
fixed check for 'lights' system
svn-id: r4568
-rw-r--r--gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx.cpp b/gfx.cpp
index 94e5aa9137..a25cebaec0 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -2219,7 +2219,7 @@ void Gdi::resetBackground(int top, int bottom, int strip)
_numLinesToProcess = bottom - top;
if (_numLinesToProcess) {
- if ((_vm->_features & GF_AFTER_V7) || (_vm->_vars[_vm->VAR_CURRENT_LIGHTS] & LIGHTMODE_screen)) {
+ if ((_vm->_features & GF_AFTER_V6) || (_vm->_vars[_vm->VAR_CURRENT_LIGHTS] & LIGHTMODE_screen)) {
// if (1 /*_vm->_vars[VAR_V5_DRAWFLAGS]&2*/ ) {
if (_vm->hasCharsetMask(strip << 3, top, (strip + 1) << 3, bottom))
draw8ColWithMasking();