diff options
author | smatz <smatz@openttd.org> | 2009-09-20 18:52:12 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-09-20 18:52:12 +0000 |
commit | 9cf2e921599e222a58884179e6c435f731f3d149 (patch) | |
tree | ebc1252913d089288fcb8365fbfe6ddd90d201e2 /src/economy.cpp | |
parent | 12ef0046dde205e0e111ed7e6d830ea4f93c45c9 (diff) | |
download | openttd-9cf2e921599e222a58884179e6c435f731f3d149.tar.xz |
(svn r17592) -Fix [FS#3212](r17436): force all cargo being accepted when industry tiles accept it but industry itself doesn't
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 6f5d84391..faa043b62 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -932,7 +932,7 @@ static Money DeliverGoods(int num_pieces, CargoID cargo_type, StationID dest, Ti /* Give the goods to the industry. */ uint accepted = DeliverGoodsToIndustry(st, cargo_type, num_pieces, src_type == ST_INDUSTRY ? src : INVALID_INDUSTRY); - /* If there are non-industries around accepting the cargo, accept it all */ + /* If this cargo type is always accepted, accept all */ if (HasBit(st->always_accepted, cargo_type)) accepted = num_pieces; /* Determine profit */ |