Add setting for default road/tram types, to match default rail type setting

This commit is contained in:
Jonathan G Rennison
2020-09-18 23:32:47 +01:00
parent 3b49f892fa
commit 2ea3a7d6f4
7 changed files with 98 additions and 4 deletions

View File

@@ -2670,10 +2670,6 @@ static WindowDesc _toolb_scen_desc(
/** Allocate the toolbar. */
void AllocateToolbar()
{
/* Clean old GUI values; railtype is (re)set by rail_gui.cpp */
_last_built_roadtype = ROADTYPE_ROAD;
_last_built_tramtype = ROADTYPE_TRAM;
if (_game_mode == GM_EDITOR) {
new ScenarioEditorToolbarWindow(&_toolb_scen_desc);
} else {