diff options
author | Joost Peters | 2003-07-02 01:24:05 +0000 |
---|---|---|
committer | Joost Peters | 2003-07-02 01:24:05 +0000 |
commit | 4248c0855511abe3dbf1ef90b4eed680e74d492e (patch) | |
tree | efb1d0cba3afc44a5f5e543dfa592d0d3ec3ee2d /sky | |
parent | 5062bb06faec93d13f1dc2aad24132de3114e676 (diff) | |
download | scummvm-rg350-4248c0855511abe3dbf1ef90b4eed680e74d492e.tar.gz scummvm-rg350-4248c0855511abe3dbf1ef90b4eed680e74d492e.tar.bz2 scummvm-rg350-4248c0855511abe3dbf1ef90b4eed680e74d492e.zip |
Control panel should be disabled for ALL demo versions
svn-id: r8701
Diffstat (limited to 'sky')
-rw-r--r-- | sky/control.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sky/control.cpp b/sky/control.cpp index 5c97b76992..a0048cd0d1 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -293,7 +293,7 @@ void SkyControl::drawMainPanel(void) { } void SkyControl::doLoadSavePanel(void) { - if (SkyState::isDemo() && (!SkyState::isCDVersion())) + if (SkyState::isDemo()) return; // I don't think this can even happen initPanel(); _skyScreen->clearScreen(); @@ -321,15 +321,15 @@ void SkyControl::doLoadSavePanel(void) { void SkyControl::doControlPanel(void) { - if (SkyState::isDemo() && (!SkyState::isCDVersion())) { + if (SkyState::isDemo()) { return ; } initPanel(); _skyScreen->clearScreen(); - if (SkyState::_systemVars.gameVersion < 368) + if (SkyState::_systemVars.gameVersion < 368) { _skyScreen->setPalette(60509); - else + } else _skyScreen->setPalette(60510); drawMainPanel(); |