diff options
author | SamuXarick <43006711+SamuXarick@users.noreply.github.com> | 2019-02-21 21:23:37 +0000 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-02-21 21:23:37 +0000 |
commit | 456e67ac1c52431f9b7ae4d15f8188b94b2daea6 (patch) | |
tree | d34aed778d4acfb031030d8ac0e1669bd833c244 /src/station_cmd.cpp | |
parent | 673f6753e9428a8ded6343f60c0fd74681dd5e6a (diff) | |
download | openttd-456e67ac1c52431f9b7ae4d15f8188b94b2daea6.tar.xz |
Change: Owner of vehicle with exclusive transport rights may now load cargo from neutral stations (#7256)
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 6be22de0c..e6864d70d 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -3853,7 +3853,7 @@ uint MoveGoodsToStation(CargoID type, uint amount, SourceType source_type, Sourc Station *st = *st_iter; /* Is the station reserved exclusively for somebody else? */ - if (st->town->exclusive_counter > 0 && st->town->exclusivity != st->owner) continue; + if (st->owner != OWNER_NONE && st->town->exclusive_counter > 0 && st->town->exclusivity != st->owner) continue; if (st->goods[type].rating == 0) continue; // Lowest possible rating, better not to give cargo anymore |