Files
@ r27056:ac04ccbeb86c
Branch filter:
Location: cpp/openttd-patchpack/source/docs/tileh.png
r27056:ac04ccbeb86c
24.0 KiB
image/png
Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states
Previously it checked the position in non-driving direction to "guess" whether
a ground vehicle was using the function, so on tunnels/bridges it could either
return the Z of the (virtual) ground compared to the Z of the path the vehicle
would take.
Previously it checked the position in non-driving direction to "guess" whether
a ground vehicle was using the function, so on tunnels/bridges it could either
return the Z of the (virtual) ground compared to the Z of the path the vehicle
would take.
![](/cpp/openttd-patchpack/source/raw/ac04ccbeb86c0253ead16d599931669239d6419d/docs/tileh.png)