Feature: Add default road and tram selection (#15585)

- Merged with the existing default rail type selection
This commit is contained in:
Matt C
2026-06-06 09:23:08 -04:00
committed by GitHub
parent a85d10bf7c
commit 6bc486a578
11 changed files with 108 additions and 24 deletions
-4
View File
@@ -2618,10 +2618,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 == GameMode::Editor) {
new ScenarioEditorToolbarWindow(_toolb_scen_desc);
} else {