aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/timer_lol.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-03-28 11:58:22 +0000
committerFlorian Kagerer2009-03-28 11:58:22 +0000
commit8875fdcdedc08710517295f770acaf6931912041 (patch)
treed69bf788a25363be80aa7557b054bba63abe9e09 /engines/kyra/timer_lol.cpp
parent97abfc9181e0689aada9ee97cde5899e6b28c366 (diff)
downloadscummvm-rg350-8875fdcdedc08710517295f770acaf6931912041.tar.gz
scummvm-rg350-8875fdcdedc08710517295f770acaf6931912041.tar.bz2
scummvm-rg350-8875fdcdedc08710517295f770acaf6931912041.zip
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
Diffstat (limited to 'engines/kyra/timer_lol.cpp')
-rw-r--r--engines/kyra/timer_lol.cpp4
1 files changed, 2 insertions, 2 deletions
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) {