Codechange: (re)set multiple bitset flags in one call. (#14017)

This commit is contained in:
Peter Nelson
2025-04-18 14:07:57 +01:00
committed by GitHub
parent 31e716449d
commit 2c59838acb
10 changed files with 11 additions and 12 deletions

View File

@@ -409,7 +409,7 @@ CommandCost CmdBuildRoadWaypoint(DoCommandFlags flags, TileIndex start_tile, Axi
}
wp->delete_ctr = 0;
wp->facilities.Set(StationFacility::BusStop).Set(StationFacility::TruckStop);
wp->facilities.Set({StationFacility::BusStop, StationFacility::TruckStop});
wp->build_date = TimerGameCalendar::date;
wp->string_id = STR_SV_STNAME_WAYPOINT;