aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen_lok.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-11 02:12:09 +0000
committerJohannes Schickel2009-08-11 02:12:09 +0000
commitd911532770f960dda2938731fee0ae9339eaf39b (patch)
treeb18b40db255e2e98b74bfccbb9095d189c952eec /engines/kyra/screen_lok.cpp
parent7e1949dbbda07cfe9b301478fa4cb3cf83fcb6c3 (diff)
downloadscummvm-rg350-d911532770f960dda2938731fee0ae9339eaf39b.tar.gz
scummvm-rg350-d911532770f960dda2938731fee0ae9339eaf39b.tar.bz2
scummvm-rg350-d911532770f960dda2938731fee0ae9339eaf39b.zip
Disable "Screen_LoK::fadeSpecialPalette" for Kyrandia 1 Amiga, like the original does.
svn-id: r43251
Diffstat (limited to 'engines/kyra/screen_lok.cpp')
-rw-r--r--engines/kyra/screen_lok.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/screen_lok.cpp b/engines/kyra/screen_lok.cpp
index feddb29dd2..ed7bef0178 100644
--- a/engines/kyra/screen_lok.cpp
+++ b/engines/kyra/screen_lok.cpp
@@ -80,6 +80,9 @@ const ScreenDim *Screen_LoK::getScreenDim(int dim) {
}
void Screen_LoK::fadeSpecialPalette(int palIndex, int startIndex, int size, int fadeTime) {
+ if (_vm->gameFlags().platform == Common::kPlatformAmiga)
+ return;
+
assert(_vm->palTable1()[palIndex]);
Palette tempPal(getPalette(0).getNumColors());