aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;