From 78ba3210a57094086d44b25d5a8507c33ce9bef3 Mon Sep 17 00:00:00 2001 From: athrxx Date: Thu, 18 Apr 2013 22:13:10 +0200 Subject: KYRA: (LOL) - fix bug in last commit for scene_lol.cpp --- engines/kyra/scene_lol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3