aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2003-10-13 22:48:45 +0000
committerTravis Howell2003-10-13 22:48:45 +0000
commit08b2020543e37163c83d91094cb26113263fd34a (patch)
tree7b07adf7bf34b3de08b798583194f39c936aaae2 /scumm
parent5c55660e9b50e4f0d667b3fb55202140973b110f (diff)
downloadscummvm-rg350-08b2020543e37163c83d91094cb26113263fd34a.tar.gz
scummvm-rg350-08b2020543e37163c83d91094cb26113263fd34a.tar.bz2
scummvm-rg350-08b2020543e37163c83d91094cb26113263fd34a.zip
This should only apply to 32 color Amiga versions.
svn-id: r10785
Diffstat (limited to 'scumm')
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 7ddc0ce128..eab5a0e896 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -206,7 +206,7 @@ Gdi::Gdi(ScummEngine *vm) {
memset(this, 0, sizeof(*this));
_vm = vm;
_roomPalette = vm->_roomPalette;
- if (vm->_features & GF_AMIGA)
+ if ((vm->_features & GF_AMIGA) && (vm->_version >= 4))
_roomPalette += 16;
}