diff options
Diffstat (limited to 'road_cmd.c')
-rw-r--r-- | road_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/road_cmd.c b/road_cmd.c index 6b4956a31..3f9c2a3c7 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -603,7 +603,7 @@ static int32 RemoveRoadDepot(TileIndex tile, uint32 flags) if (!EnsureNoVehicle(tile)) return CMD_ERROR; - if (flags & DC_EXEC) DoDeleteDepot(tile); + if (flags & DC_EXEC) DeleteDepot(GetDepotByTile(tile)); return _price.remove_road_depot; } |