diff options
author | Florian Kagerer | 2009-03-08 02:17:14 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-03-08 02:17:14 +0000 |
commit | e23fd08dfbdac9d6eedb78813d3504eeccba31a5 (patch) | |
tree | ba0a0c81477f8327a2b8275e27cf17fecc12b3da /engines/kyra/timer_lol.cpp | |
parent | cc89a46a0ef8b9bd62e69ab0d6a8c1e28bc46781 (diff) | |
download | scummvm-rg350-e23fd08dfbdac9d6eedb78813d3504eeccba31a5.tar.gz scummvm-rg350-e23fd08dfbdac9d6eedb78813d3504eeccba31a5.tar.bz2 scummvm-rg350-e23fd08dfbdac9d6eedb78813d3504eeccba31a5.zip |
LOL: fixed bug reported by MD5 (crashes and freezes caused by calls to non-existent sub scripts)
svn-id: r39209
Diffstat (limited to 'engines/kyra/timer_lol.cpp')
-rw-r--r-- | engines/kyra/timer_lol.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/timer_lol.cpp b/engines/kyra/timer_lol.cpp index d646b13f0e..98a4f2845b 100644 --- a/engines/kyra/timer_lol.cpp +++ b/engines/kyra/timer_lol.cpp @@ -150,7 +150,7 @@ void LoLEngine::timerUpdatePortraitAnimations(int skipUpdate) { } void LoLEngine::timerUpdateLampState(int timerNum) { - if ((_screen->_drawGuiFlag & 0x800) && (_screen->_drawGuiFlag & 0x400) && _lampStatusUnk) + if ((_gameFlags[15] & 0x800) && (_gameFlags[15] & 0x400) && _lampStatusUnk) _lampStatusUnk--; } |