You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to peter1138:
This code is wrong:
/* Bridges on slopes might have their Z-value offset..correct this */
v = FindVehicleBetween(
tile + delta,
endtile - delta,
TilePixelHeight(tile) + TILE_HEIGHT + GetCorrectTileHeight(tile)
);
Faulty revision r3900.
tile and endtile are only added an offset for FindVehicleBetween, but the calculation of the height 'TilePixelHeight(tile) + 8 + GetCorrectTileHeight(tile)' is done with the "old" tile, not the delta-offset one.
Darkvater opened the ticket and wrote:
Reported version: trunk
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/154
The text was updated successfully, but these errors were encountered: