aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-11-25 20:33:40 -0500
committerPaul Gilbert2014-12-12 22:46:49 -0500
commit84d500a35a2fc674adbbbc59311702f195cb4984 (patch)
tree0a3a02a8e725d961ec822cabfa2521eaf5ff0dc5 /engines
parent9cd2bbf6bd9c7b053aa5748872087a0fafe0fb3d (diff)
downloadscummvm-rg350-84d500a35a2fc674adbbbc59311702f195cb4984.tar.gz
scummvm-rg350-84d500a35a2fc674adbbbc59311702f195cb4984.tar.bz2
scummvm-rg350-84d500a35a2fc674adbbbc59311702f195cb4984.zip
ACCESS: Fix flickering slaver guard
Diffstat (limited to 'engines')
-rw-r--r--engines/access/amazon/amazon_game.cpp4
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;