aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrxx2013-04-18 22:13:10 +0200
committerathrxx2013-04-18 22:15:25 +0200
commit78ba3210a57094086d44b25d5a8507c33ce9bef3 (patch)
treead70070174003db679ea932dcffc5d7b19e542f2
parent6c55213cd5a63ff198a25573ad38672e7faa02ce (diff)
downloadscummvm-rg350-78ba3210a57094086d44b25d5a8507c33ce9bef3.tar.gz
scummvm-rg350-78ba3210a57094086d44b25d5a8507c33ce9bef3.tar.bz2
scummvm-rg350-78ba3210a57094086d44b25d5a8507c33ce9bef3.zip
KYRA: (LOL) - fix bug in last commit for scene_lol.cpp
-rw-r--r--engines/kyra/scene_lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/scene_lol.cpp b/engines/kyra/scene_lol.cpp
index c8618bc3bb..154606d46f 100644
--- a/engines/kyra/scene_lol.cpp
+++ b/engines/kyra/scene_lol.cpp
@@ -315,7 +315,7 @@ void LoLEngine::loadLevelGraphics(const char *file, int specialColor, int weight
if (_lastSpecialColor == 1)
_lastSpecialColor = 0x44;
else if (_lastSpecialColor == 0x66)
- _lastSpecialColor = file ? (scumm_stricmp(file, "YVEL2") ? 0xCC : 0x44) : 0x44;
+ _lastSpecialColor = scumm_stricmp(_lastBlockDataFile, "YVEL2") ? 0xCC : 0x44;
else if (_lastSpecialColor == 0x6B)
_lastSpecialColor = 0xCC;
else