summaryrefslogtreecommitdiff
path: root/main_gui.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-22 09:25:36 +0000
committercelestar <celestar@openttd.org>2006-04-22 09:25:36 +0000
commit084acbf23cf3512de1e9f22e6118d3668a0c8843 (patch)
tree494e258abac4810a65e1c5eec1a5e877910b237a /main_gui.c
parentaa3313545071d39044305c64477db1d38bed80a2 (diff)
downloadopenttd-084acbf23cf3512de1e9f22e6118d3668a0c8843.tar.xz
(svn r4520) -Fix: Did last commit in the wrong branch. Repair and shame on me.
Diffstat (limited to 'main_gui.c')
-rw-r--r--main_gui.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/main_gui.c b/main_gui.c
index d22931528..c141c9e47 100644
--- a/main_gui.c
+++ b/main_gui.c
@@ -2477,3 +2477,9 @@ void GameSizeChanged(void)
ScreenSizeChanged();
MarkWholeScreenDirty();
}
+
+void InitializeMainGui(void)
+{
+ /* Clean old GUI values */
+ _last_built_railtype = 0;
+}