Age | Commit message (Collapse) | Author |
|
The previous fix 887e9481ff0e70df6bf93ce15a3899a03f124c50 only worked for roads and failed to consider a multiplier used for the infrastructure totals for tunnels/bridges.
Also, depots and bus/truck stops are counted as 2 road pieces on creation but were only counted as 1 road piece on conversion because the function DiagDirToRoadBits() was used, which only ever returns single-piece road segments.
Co-authored-by: A. S <admin-git@sotai.tk>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
stations
|
|
|
|
|
|
|
|
|
|
|
|
The wrong road owner was used when updating the tram infrastructure total.
This could result in desyncs, negative infrastructure totals, etc.
|
|
Ensure the same coordinates are used for station/town/player signs regardless of how the landscape changes below it after the coordinates were first determined.
By keeping track of whether each ViewportSign is valid for Kdtree use (and only ever registering the viewport sign when the object is valid) a lot of code can be simplified and become more robust at the same time.
|
|
|
|
|
|
|
|
|
|
owned by towns (instead of crashing).
|
|
message as it should be.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tile
|
|
iterating tiles. (#7429)
|
|
so use it. (#7427)
Previously the distance was thrown away, only to be expensively recalculated again.
|
|
Display of industry production around tiles (as shown when placing a station)
did not take account of the station catchment changes, so still showed production
from an industry even if it was not covered by a tile.
This is fixed by making a set of nearby industries that are covered, instead of
looping over all possible industries.
|
|
|
|
|
|
|
|
std::vector::[push|emplace]_back()
|
|
|
|
|
|
|
|
prevent incorrect modification.
|
|
industry tiles.
Currently this can only be triggered by NewGRF house tiles querying for cargo acceptance history
of nearby stations (var 0x64) with a tile offset, and providing an offset that happens to point
to an industry tile. This serves no useful purpose.
|
|
|
|
|
|
|
|
stations instead of just 'Oil Rig'
|
|
|
|
|