(svn r23475) -Codechange: queue critical error messages, so when multiple happen you won't miss any

This commit is contained in:
rubidium
2011-12-10 15:14:11 +00:00
parent 9aab2dc861
commit 43e78a88ca
6 changed files with 53 additions and 6 deletions

View File

@@ -333,7 +333,10 @@ void AskExitGame()
static void AskExitToGameMenuCallback(Window *w, bool confirmed)
{
if (confirmed) _switch_mode = SM_MENU;
if (confirmed) {
_switch_mode = SM_MENU;
ClearErrorMessages();
}
}
void AskExitToGameMenu()