aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen_v2.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-08-24 13:41:24 +0000
committerJohannes Schickel2010-08-24 13:41:24 +0000
commitfeff6fecdffa16a541f9658ad611745188596692 (patch)
treedc50567f9c4ed48f0637fbd6424c3c5028ec65a4 /engines/kyra/screen_v2.cpp
parent10a1806f32a3fc67f8deb6adb496919793977440 (diff)
downloadscummvm-rg350-feff6fecdffa16a541f9658ad611745188596692.tar.gz
scummvm-rg350-feff6fecdffa16a541f9658ad611745188596692.tar.bz2
scummvm-rg350-feff6fecdffa16a541f9658ad611745188596692.zip
KYRA: Cleanup.
svn-id: r52340
Diffstat (limited to 'engines/kyra/screen_v2.cpp')
-rw-r--r--engines/kyra/screen_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/screen_v2.cpp b/engines/kyra/screen_v2.cpp
index 3907f844cb..216bf07f6f 100644
--- a/engines/kyra/screen_v2.cpp
+++ b/engines/kyra/screen_v2.cpp
@@ -53,7 +53,7 @@ uint8 *Screen_v2::generateOverlay(const Palette &pal, uint8 *buffer, int opColor
int maxIndex = maxColor;
if (maxIndex == -1) {
- if (_vm->gameFlags().gameID == GI_LOL) {
+ if (_vm->game() == GI_LOL) {
if (_use16ColorMode)
maxIndex = 255;
else