summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c
index 40ddcad60..11b33067e 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -46,7 +46,7 @@ static int _rename_id;
static int _rename_what;
static byte _terraform_size = 1;
-static RailType _last_built_railtype;
+RailType _last_built_railtype;
static int _scengen_town_size = 2; // depress medium-sized towns per default
extern void GenerateIndustries(void);
@@ -2448,3 +2448,4 @@ void InitializeMainGui(void)
/* Clean old GUI values */
_last_built_railtype = 0;
}
+