diff options
author | Strangerke | 2014-12-04 02:01:51 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:59:03 -0500 |
commit | 7571fdd4b19f5f1bf3008d764c85c254ed86f635 (patch) | |
tree | 2570f10053918aba456f43f107e68781a74638da /engines/access/amazon | |
parent | e35e6df93a72f1a29b731281bef123d675bcfd01 (diff) | |
download | scummvm-rg350-7571fdd4b19f5f1bf3008d764c85c254ed86f635.tar.gz scummvm-rg350-7571fdd4b19f5f1bf3008d764c85c254ed86f635.tar.bz2 scummvm-rg350-7571fdd4b19f5f1bf3008d764c85c254ed86f635.zip |
ACCESS: Add some more Demo opcodes
Diffstat (limited to 'engines/access/amazon')
-rw-r--r-- | engines/access/amazon/amazon_scripts.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_scripts.cpp b/engines/access/amazon/amazon_scripts.cpp index 43532aa93c..5cf22106b7 100644 --- a/engines/access/amazon/amazon_scripts.cpp +++ b/engines/access/amazon/amazon_scripts.cpp @@ -472,8 +472,12 @@ void AmazonScripts::cmdCycleBack() { _vm->_screen->cyclePaletteBackwards(); } void AmazonScripts::cmdChapter() { - int chapter = _data->readByte(); - _game->startChapter(chapter); + if (_vm->isDemo()) { + cmdSetHelp(); + } else { + int chapter = _data->readByte(); + _game->startChapter(chapter); + } } void AmazonScripts::cmdSetHelp() { |