summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index 5cf604091..455d1ae6f 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -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();