From 8875fdcdedc08710517295f770acaf6931912041 Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Sat, 28 Mar 2009 11:58:22 +0000 Subject: LOL: - Level temp data now get stored in memory so you can now return to a level without everything being broken. Temp data isn't saved to disk. Since total memory requirement for storing this data won't exceed ~100kb I'd rather save memory in other places (like removing some screen page buffers) - Implemented some more opcodes and fixed some bugs (You can now safely pick up coin pouches. The lamp seems to work fine, too). svn-id: r39719 --- engines/kyra/timer_lol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/kyra/timer_lol.cpp') diff --git a/engines/kyra/timer_lol.cpp b/engines/kyra/timer_lol.cpp index c6ed885a29..f82687b2d5 100644 --- a/engines/kyra/timer_lol.cpp +++ b/engines/kyra/timer_lol.cpp @@ -154,8 +154,8 @@ void LoLEngine::timerUpdatePortraitAnimations(int skipUpdate) { } void LoLEngine::timerUpdateLampState(int timerNum) { - if ((_gameFlags[15] & 0x800) && (_gameFlags[15] & 0x400) && _lampStatusUnk) - _lampStatusUnk--; + if ((_gameFlags[15] & 0x800) && (_gameFlags[15] & 0x400) && _lampOilStatus) + _lampOilStatus--; } void LoLEngine::timerFadeMessageText(int timerNum) { -- cgit v1.2.3