diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/scene_lol.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/screen_lol.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/scene_lol.cpp b/engines/kyra/scene_lol.cpp index 022caa7da7..bbcc0b22ee 100644 --- a/engines/kyra/scene_lol.cpp +++ b/engines/kyra/scene_lol.cpp @@ -359,7 +359,7 @@ void LoLEngine::loadLevelGraphics(const char *file, int specialColor, int weight if (_flags.use16ColorMode) { if (_lastSpecialColor == 0x66) - _lastSpecialColor = stricmp(file, "YVEL2") ? 0xcc : 0x44; + _lastSpecialColor = scumm_stricmp(file, "YVEL2") ? 0xcc : 0x44; else if (_lastSpecialColor == 0x6b) _lastSpecialColor = 0xcc; else diff --git a/engines/kyra/screen_lol.cpp b/engines/kyra/screen_lol.cpp index 7b752a7b14..ead33b0cff 100644 --- a/engines/kyra/screen_lol.cpp +++ b/engines/kyra/screen_lol.cpp @@ -207,7 +207,7 @@ uint8 *Screen_LoL::generateLevelOverlay(const Palette &srcPal, uint8 *ovl, int o } if (c <= m) { - if (!_use16ColorMode || x != opColor && i != x) { + if (!_use16ColorMode || (x != opColor && i != x)) { m = c; l = x; } |