From 5c233c447ba9656608b41fd0bd46edcc830e8b13 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 7 Jun 2009 20:43:43 +0000 Subject: Remove LoLEngine::_gameFlags and convert all Lands of Lore code to use _flagsTable instead. svn-id: r41351 --- engines/kyra/timer_lol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/kyra/timer_lol.cpp') diff --git a/engines/kyra/timer_lol.cpp b/engines/kyra/timer_lol.cpp index 4a66557465..84c4f8b19d 100644 --- a/engines/kyra/timer_lol.cpp +++ b/engines/kyra/timer_lol.cpp @@ -247,7 +247,7 @@ void LoLEngine::timerUpdatePortraitAnimations(int skipUpdate) { } void LoLEngine::timerUpdateLampState(int timerNum) { - if ((_gameFlags[15] & 0x800) && (_gameFlags[15] & 0x400) && _lampOilStatus > 0) + if ((_flagsTable[31] & 0x08) && (_flagsTable[31] & 0x04) && _lampOilStatus > 0) _lampOilStatus--; } -- cgit v1.2.3