summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-01-26 12:42:29 +0000
committerbjarni <bjarni@openttd.org>2005-01-26 12:42:29 +0000
commit5665d51bb31bd2c8860e9b48989fa145ad01e193 (patch)
tree8330c76d86cc47f1e087d757bc229fd72a7497f9 /misc.c
parent518034d28d3664a3f3f6bb865eb8a8c4d0d3ccfe (diff)
downloadopenttd-5665d51bb31bd2c8860e9b48989fa145ad01e193.tar.xz
(svn r1680) Feature: Replace train GUI now remembers the railtype selected in the dropdown menu
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc.c b/misc.c
index 2017239a7..1ae7d0f94 100644
--- a/misc.c
+++ b/misc.c
@@ -194,6 +194,8 @@ void InitializeGame(void)
for (i = 0; i < lengthof(_autoreplace_array); i++)
_autoreplace_array[i] = i;
+ _railtype_selected_in_replace_gui = 0;
+
AddTypeToEngines(); // make sure all engines have a type
SetObjectToPlace(1, 0, 0, 0);