diff options
author | Robert Göffringmann | 2003-07-10 02:13:53 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-07-10 02:13:53 +0000 |
commit | 1bedb9ebbf9793ca7ca751ca667f75f7a2da7f67 (patch) | |
tree | 1bb7d2dc72243fe67b514cd93d080309e7fc4dfa | |
parent | 5aba29ae2dde8a790a37e9b1af8bea21dbdef3bc (diff) | |
download | scummvm-rg350-1bedb9ebbf9793ca7ca751ca667f75f7a2da7f67.tar.gz scummvm-rg350-1bedb9ebbf9793ca7ca751ca667f75f7a2da7f67.tar.bz2 scummvm-rg350-1bedb9ebbf9793ca7ca751ca667f75f7a2da7f67.zip |
forgot to allow restarting from control panel
svn-id: r8887
-rw-r--r-- | sky/control.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sky/control.cpp b/sky/control.cpp index 2a65aa1ea1..0dd5e0550c 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -561,7 +561,11 @@ uint16 SkyControl::handleClick(SkyConResource *pButton) { case RESTART: animClick(pButton); - return 0; + if (getYesNo(NULL)) { + restartGame(); + return GAME_RESTORED; + } else + return 0; case QUIT_TO_DOS: animClick(pButton); |