diff options
author | Florian Kagerer | 2009-09-19 17:39:31 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-09-19 17:39:31 +0000 |
commit | ea2b6d12dca199eece9b9a8e9ecc9d877d5b5aa4 (patch) | |
tree | 6cb6f37661df7425f9d4ae73a99c8428d762dba5 /engines/kyra/screen_lol.cpp | |
parent | 6e4f1482c1397ada9b931602e5a104713d7bb4d7 (diff) | |
download | scummvm-rg350-ea2b6d12dca199eece9b9a8e9ecc9d877d5b5aa4.tar.gz scummvm-rg350-ea2b6d12dca199eece9b9a8e9ecc9d877d5b5aa4.tar.bz2 scummvm-rg350-ea2b6d12dca199eece9b9a8e9ecc9d877d5b5aa4.zip |
LOL/PC-98: fix some asserts
svn-id: r44197
Diffstat (limited to 'engines/kyra/screen_lol.cpp')
-rw-r--r-- | engines/kyra/screen_lol.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/screen_lol.cpp b/engines/kyra/screen_lol.cpp index 8deb43356f..bd37945fae 100644 --- a/engines/kyra/screen_lol.cpp +++ b/engines/kyra/screen_lol.cpp @@ -835,6 +835,9 @@ void Screen_LoL::copyColor(int dstColorIndex, int srcColorIndex) { } bool Screen_LoL::fadeColor(int dstColorIndex, int srcColorIndex, uint32 elapsedTime, uint32 targetTime) { + if (_use16ColorMode) + return false; + const uint8 *dst = _screenPalette->getData() + 3 * dstColorIndex; const uint8 *src = _screenPalette->getData() + 3 * srcColorIndex; uint8 *p = getPalette(1).getData() + 3 * dstColorIndex; |