diff options
author | fonsinchen <fonsinchen@openttd.org> | 2013-06-23 08:29:28 +0000 |
---|---|---|
committer | fonsinchen <fonsinchen@openttd.org> | 2013-06-23 08:29:28 +0000 |
commit | 930c19dae292d5863b201ded98444c9fb2e7b20a (patch) | |
tree | 952bc05730d25b4aa32622d07b75aba7f9a28b7b /src/station_func.h | |
parent | 3dd811e1794bc9247d5ace0bad7ade5998a7b54f (diff) | |
download | openttd-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.h | 1 |
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. |