diff options
author | Strangerke | 2014-12-07 19:53:19 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 23:02:41 -0500 |
commit | 3cf08939797c1963264cf1ef49ed227fba3daf00 (patch) | |
tree | c12470920b4100ab231eaf3988899f60a0505469 /engines/access/amazon | |
parent | b864b846356b6b20d6e6def414456b5d44fe88c7 (diff) | |
download | scummvm-rg350-3cf08939797c1963264cf1ef49ed227fba3daf00.tar.gz scummvm-rg350-3cf08939797c1963264cf1ef49ed227fba3daf00.tar.bz2 scummvm-rg350-3cf08939797c1963264cf1ef49ed227fba3daf00.zip |
ACCESS: Add a cheat mode which currently skips the guard in chapter 8
Diffstat (limited to 'engines/access/amazon')
-rw-r--r-- | engines/access/amazon/amazon_logic.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp index c9e8886d08..c1df5353a2 100644 --- a/engines/access/amazon/amazon_logic.cpp +++ b/engines/access/amazon/amazon_logic.cpp @@ -1168,6 +1168,11 @@ void Guard::setGuardFrame() { } void Guard::doGuard() { + // Skip the code dealing with the guard on the boat (chapter 8) + // if the cheat mode is activated + if (_vm->_cheatFl) + return; + if (_vm->_timers[8]._flag) { setGuardFrame(); return; |