forked from mirror/OpenTTD
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
This commit is contained in:
@@ -158,7 +158,7 @@ void CcBuildRoadVeh(bool success, TileIndex tile, uint32 p1, uint32 p2)
|
||||
|
||||
if (!success) return;
|
||||
|
||||
v = GetVehicle(_new_vehicle_id);
|
||||
v = Vehicle::Get(_new_vehicle_id);
|
||||
if (v->tile == _backup_orders_tile) {
|
||||
_backup_orders_tile = 0;
|
||||
RestoreVehicleOrders(v);
|
||||
|
Reference in New Issue
Block a user