(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 58423b26d1
commit 420d358fef
6 changed files with 53 additions and 6 deletions

View File

@@ -29,6 +29,7 @@
#include "core/geometry_func.hpp"
#include "core/random_func.hpp"
#include "progress.h"
#include "error.h"
#include "table/strings.h"
#include "table/sprites.h"
@@ -305,6 +306,7 @@ static const NWidgetPart _nested_heightmap_load_widgets[] = {
static void StartGeneratingLandscape(GenenerateLandscapeWindowMode mode)
{
DeleteAllNonVitalWindows();
ClearErrorMessages();
/* Copy all XXX_newgame to XXX when coming from outside the editor */
MakeNewgameSettingsLive();