forgot to allow restarting from control panel
svn-id: r8887
This commit is contained in:
parent
5aba29ae2d
commit
1bedb9ebbf
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue