diff options
author | Joost Hopmans <joost@jhopmans.nl> | 2018-06-20 12:17:05 +0200 |
---|---|---|
committer | frosch <github@elsenhans.name> | 2018-10-31 19:24:21 +0100 |
commit | 5029cd6f28e576558d4e9304093db6e9e1216f15 (patch) | |
tree | 7dbaabd742e5a503cd7f40d29b145e9c756c6718 /docs/elrail_tile.png | |
parent | 18ca3e8660f90737d672b6780301ff4b998df56f (diff) | |
download | openttd-5029cd6f28e576558d4e9304093db6e9e1216f15.tar.xz |
Fix: Only possible to build station next to competitors by using CTRL+click
Fix by checking only for stations owned by the current company when
inspecting if there are multiple adjoining stations to the one being built.
When building next to 2 or more owned stations we don't know which
station should be extended. For other companies' stations that's not a
problem since our station won't merge with theirs anyway.
Calling to BuildStationPart should never have another company's station
as a parameter to attach to unless the client is malicious, so just returning
a generic error in that case.
Diffstat (limited to 'docs/elrail_tile.png')
0 files changed, 0 insertions, 0 deletions