diff options
author | Robert Göffringmann | 2003-07-02 01:46:25 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-07-02 01:46:25 +0000 |
commit | 1b5ea45887d4c853603fd5dedb02b8cf56eeb458 (patch) | |
tree | d4451fb5da7b59546ecdd6e32f1f4d2dc71fbe98 /sky/control.cpp | |
parent | 14cfa71ab76024941b0bfd99171045a07a6f018a (diff) | |
download | scummvm-rg350-1b5ea45887d4c853603fd5dedb02b8cf56eeb458.tar.gz scummvm-rg350-1b5ea45887d4c853603fd5dedb02b8cf56eeb458.tar.bz2 scummvm-rg350-1b5ea45887d4c853603fd5dedb02b8cf56eeb458.zip |
fixed save/restore grid problems
svn-id: r8703
Diffstat (limited to 'sky/control.cpp')
-rw-r--r-- | sky/control.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sky/control.cpp b/sky/control.cpp index c772baa685..74ba6e403a 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -292,6 +292,18 @@ void SkyControl::drawMainPanel(void) { _bodge->drawToScreen(WITH_MASK); } +void SkyControl::restartGame(void) { + if (SkyState::isDemo() && (!SkyState::isCDVersion())) + return; // I don't think this can happen + + /*parseSaveData(_restartData); + + _skyScreen->forceRefresh(); + _skyScreen->setPalette((uint8*)SkyState::fetchCompact(SkyState::_systemVars.currentPalette)); + _skyMouse->spriteMouse(_savedMouse, 0, 0); + SkyState::_systemVars.pastIntro = true;*/ +} + void SkyControl::doLoadSavePanel(void) { if (SkyState::isDemo()) return; // I don't think this can even happen |