diff options
author | Johannes Schickel | 2009-06-29 20:16:59 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-06-29 20:16:59 +0000 |
commit | a12b4e70024530529c596768e0e33c2896e851a3 (patch) | |
tree | 5002f1faceefd2157b33bbbf5cc58a6d81f366c3 | |
parent | e15502d38157498f3cc8dca0014e3099ff6625c4 (diff) | |
download | scummvm-rg350-a12b4e70024530529c596768e0e33c2896e851a3.tar.gz scummvm-rg350-a12b4e70024530529c596768e0e33c2896e851a3.tar.bz2 scummvm-rg350-a12b4e70024530529c596768e0e33c2896e851a3.zip |
Fix LoL cursor in DOS version.
svn-id: r41963
-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 5453ee0e75..b9bf9961c5 100644 --- a/engines/kyra/screen_lol.cpp +++ b/engines/kyra/screen_lol.cpp @@ -995,6 +995,9 @@ void Screen_LoL::convertPC98Gfx(uint8 *data, int w, int h, int pitch) { } void Screen_LoL::postProcessCursor(uint8 *data, int w, int h, int pitch) { + if (!_use16ColorMode) + return; + while (h--) { for (int i = 0; i < w; ++i) { if (*data != _cursorColorKey) |