forgot to allow restarting from control panel

svn-id: r8887
This commit is contained in:
Robert Göffringmann 2003-07-10 02:13:53 +00:00
parent 5aba29ae2d
commit 1bedb9ebbf

View file

@ -561,7 +561,11 @@ uint16 SkyControl::handleClick(SkyConResource *pButton) {
case RESTART: case RESTART:
animClick(pButton); animClick(pButton);
return 0; if (getYesNo(NULL)) {
restartGame();
return GAME_RESTORED;
} else
return 0;
case QUIT_TO_DOS: case QUIT_TO_DOS:
animClick(pButton); animClick(pButton);