ACCESS: Add missing _startup checks to palette cycling opcodes

This commit is contained in:
Paul Gilbert 2014-11-01 22:25:41 -04:00
parent f3063a13f0
commit c038452588
2 changed files with 5 additions and 3 deletions

View file

@ -450,6 +450,7 @@ void AmazonScripts::cmdHelp() {
} }
void AmazonScripts::cmdCycleBack() { void AmazonScripts::cmdCycleBack() {
if (_vm->_startup == -1)
_vm->_screen->cyclePaletteBackwards(); _vm->_screen->cyclePaletteBackwards();
} }
void AmazonScripts::cmdChapter() { void AmazonScripts::cmdChapter() {

View file

@ -522,6 +522,7 @@ void Scripts::cmdSetCycle() {
} }
void Scripts::cmdCycle() { void Scripts::cmdCycle() {
if (_vm->_startup == -1)
_vm->_screen->cyclePaletteForward(); _vm->_screen->cyclePaletteForward();
} }