From bf1c300c361d9a58d7fafaabe90c9ace3cc8e96b Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 12 Aug 2003 02:08:21 +0000 Subject: [PATCH] Show Amiga option only for scumm games svn-id: r9643 --- gui/launcher.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/launcher.cpp b/gui/launcher.cpp index af821404f50..eb151c6df27 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -126,11 +126,11 @@ EditGameDialog::EditGameDialog(NewGui *gui, Config &config, const String &domain _fullscreenCheckbox->setState(_config.getBool("fullscreen", false, _domain)); // Display 'Amiga' checkbox, but only for Scumm games. - if (GID_SIMON_FIRST <= v->id && v->id <= GID_SIMON_LAST) { - _amigaPalCheckbox = 0; - } else { + if (GID_SCUMM_FIRST <= v->id && v->id <= GID_SCUMM_LAST) { _amigaPalCheckbox = new CheckboxWidget(this, 15, 82, 200, 16, "Use Amiga Palette", 0, 'A'); _amigaPalCheckbox->setState(_config.getBool("amiga", false, _domain)); + } else { + _amigaPalCheckbox = 0; } // Add OK & Cancel buttons