aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Kagerer2009-09-12 13:16:47 +0000
committerFlorian Kagerer2009-09-12 13:16:47 +0000
commit5e57474eb9bda461c3867433c5e03b2054da917b (patch)
treed0bddeae2f1738dbf85e5b287d55ce153ffa770f
parent90ae20c3eaaa173a8e7f799b678d835b23df6414 (diff)
downloadscummvm-rg350-5e57474eb9bda461c3867433c5e03b2054da917b.tar.gz
scummvm-rg350-5e57474eb9bda461c3867433c5e03b2054da917b.tar.bz2
scummvm-rg350-5e57474eb9bda461c3867433c5e03b2054da917b.zip
LOL: fix bug that would sometimes accidently swap the freeze palette and the normal palette in the ghorka swamp
svn-id: r44040
-rw-r--r--engines/kyra/lol.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 45336e7730..04e4ef88fc 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -2339,9 +2339,9 @@ int LoLEngine::processMagicIce(int charNum, int spellLevel) {
if (breakWall)
breakIceWall(tpal.getData(), swampCol.getData());
- static const uint8 freezeTime[] = { 20, 28, 40, 60 };
- if (_currentLevel == 11)
- setCharacterUpdateEvent(charNum, 8, freezeTime[spellLevel], 1);
+ //static const uint8 freezeTime[] = { 20, 28, 40, 60 };
+ //if (spellLevel == 11)
+ // setCharacterUpdateEvent(charNum, 8, freezeTime[spellLevel], 1);
_screen->setCurPage(cp);
return 1;