mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
Codechange: replace 'new PoolItem(...' with 'PoolItem::Create(...'
This commit is contained in:
@@ -115,7 +115,7 @@ void MoveWaypointsToBaseStations()
|
||||
SlErrorCorrupt("Waypoint with invalid tile");
|
||||
}
|
||||
|
||||
Waypoint *new_wp = new Waypoint(t);
|
||||
Waypoint *new_wp = Waypoint::Create(t);
|
||||
new_wp->town = wp.town;
|
||||
new_wp->town_cn = wp.town_cn;
|
||||
new_wp->name = wp.name;
|
||||
|
||||
Reference in New Issue
Block a user