diff options
author | Paul Gilbert | 2014-11-25 20:33:40 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:46:49 -0500 |
commit | 84d500a35a2fc674adbbbc59311702f195cb4984 (patch) | |
tree | 0a3a02a8e725d961ec822cabfa2521eaf5ff0dc5 /engines/access/amazon/amazon_game.cpp | |
parent | 9cd2bbf6bd9c7b053aa5748872087a0fafe0fb3d (diff) | |
download | scummvm-rg350-84d500a35a2fc674adbbbc59311702f195cb4984.tar.gz scummvm-rg350-84d500a35a2fc674adbbbc59311702f195cb4984.tar.bz2 scummvm-rg350-84d500a35a2fc674adbbbc59311702f195cb4984.zip |
ACCESS: Fix flickering slaver guard
Diffstat (limited to 'engines/access/amazon/amazon_game.cpp')
-rw-r--r-- | engines/access/amazon/amazon_game.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/access/amazon/amazon_game.cpp b/engines/access/amazon/amazon_game.cpp index 550d8b2b46..1a89ddb80d 100644 --- a/engines/access/amazon/amazon_game.cpp +++ b/engines/access/amazon/amazon_game.cpp @@ -1158,8 +1158,10 @@ void Guard::setGuardFrame() { } void Guard::guard() { - if (_vm->_timers[8]._flag != 0) + if (_vm->_timers[8]._flag) { + setGuardFrame(); return; + } ++_vm->_timers[8]._flag; ++_guardCel; |