diff options
author | fonsinchen <fonsinchen@openttd.org> | 2013-06-09 13:03:48 +0000 |
---|---|---|
committer | fonsinchen <fonsinchen@openttd.org> | 2013-06-09 13:03:48 +0000 |
commit | 04e3eb6fabc0e4aff04c189368356b8af15e9655 (patch) | |
tree | aa9d6a025fb3e343fc8cdc9358a913182445210b /src/station.cpp | |
parent | a2ff96d6828bd32f7beb461bfb902880bf46ef75 (diff) | |
download | openttd-04e3eb6fabc0e4aff04c189368356b8af15e9655.tar.xz |
(svn r25361) -Feature: distribute cargo according to plan given by linkgraph
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station.cpp b/src/station.cpp index d7cd0ea2b..555c6369c 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -103,6 +103,7 @@ Station::~Station() FOR_ALL_STATIONS(st) { GoodsEntry *ge = &st->goods[c]; ge->flows.DeleteFlows(this->index); + ge->cargo.Reroute(UINT_MAX, &ge->cargo, this->index, st->index, ge); } } |