diff options
author | bjarni <bjarni@openttd.org> | 2005-01-26 12:42:29 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2005-01-26 12:42:29 +0000 |
commit | 5665d51bb31bd2c8860e9b48989fa145ad01e193 (patch) | |
tree | 8330c76d86cc47f1e087d757bc229fd72a7497f9 /misc.c | |
parent | 518034d28d3664a3f3f6bb865eb8a8c4d0d3ccfe (diff) | |
download | openttd-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |