diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -3752,7 +3752,7 @@ void IncreaseStats(Station *st, CargoID ge2.link_graph = lg->index; ge2.node = lg->AddNode(st2); } else { - DEBUG(misc, 0, "Can't allocate link graph"); + Debug(misc, 0, "Can't allocate link graph"); } } else { lg = LinkGraph::Get(ge2.link_graph); @@ -3894,7 +3894,7 @@ static uint UpdateStationWaiting(Station ge.link_graph = lg->index; ge.node = lg->AddNode(st); } else { - DEBUG(misc, 0, "Can't allocate link graph"); + Debug(misc, 0, "Can't allocate link graph"); } } else { lg = LinkGraph::Get(ge.link_graph); @@ -4128,7 +4128,7 @@ void UpdateStationDockingTiles(Station * void BuildOilRig(TileIndex tile) { if (!Station::CanAllocateItem()) { - DEBUG(misc, 0, "Can't allocate station for oilrig at 0x%X, reverting to oilrig only", tile); + Debug(misc, 0, "Can't allocate station for oilrig at 0x{:X}, reverting to oilrig only", tile); return; }