summaryrefslogtreecommitdiff
path: root/src/station_func.h
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2013-06-23 08:29:28 +0000
committerfonsinchen <fonsinchen@openttd.org>2013-06-23 08:29:28 +0000
commit930c19dae292d5863b201ded98444c9fb2e7b20a (patch)
tree952bc05730d25b4aa32622d07b75aba7f9a28b7b /src/station_func.h
parent3dd811e1794bc9247d5ace0bad7ade5998a7b54f (diff)
downloadopenttd-930c19dae292d5863b201ded98444c9fb2e7b20a.tar.xz
(svn r25435) -Fix: reroute cargo in vehicles if station is deleted
Diffstat (limited to 'src/station_func.h')
-rw-r--r--src/station_func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station_func.h b/src/station_func.h
index 8efa3c2f1..39b8f5bb3 100644
--- a/src/station_func.h
+++ b/src/station_func.h
@@ -50,6 +50,7 @@ bool SplitGroundSpriteForOverlay(const TileInfo *ti, SpriteID *ground, RailTrack
void IncreaseStats(Station *st, const Vehicle *v, StationID next_station_id);
void IncreaseStats(Station *st, CargoID cargo, StationID next_station_id, uint capacity, uint usage);
+void RerouteCargo(Station *st, CargoID c, StationID avoid, StationID avoid2);
/**
* Calculates the maintenance cost of a number of station tiles.