From 31b75bd2bd0460cf028b984ec20ba9ae67798c06 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 5 Aug 2018 14:08:52 +0200 Subject: [PATCH] fixed a crash bug when enabling an irregular tiling multiple times --- irregular.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/irregular.cpp b/irregular.cpp index e5a893ff..4c60b775 100644 --- a/irregular.cpp +++ b/irregular.cpp @@ -872,6 +872,8 @@ bool load_map(const string &fname) { } void cancel_map_creation() { + base = NULL; + runlevel = 0; popScreen(); gridmaking = false; stop_game();