1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 18:09:09 +00:00

(svn r1680) Feature: Replace train GUI now remembers the railtype selected in the dropdown menu

This commit is contained in:
bjarni
2005-01-26 12:42:29 +00:00
parent 518034d28d
commit 5665d51bb3
4 changed files with 7 additions and 5 deletions

2
misc.c
View File

@@ -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);