New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plane sprite and shadow get reversed when terrain under hangar tile of airport is lowered #8560
Comments
I could not reproduce this in 1.10.2, but when loading the savegame I made (in 1.10.2) using the latest nightly (20210112) it reproduced immediately, so definitely a regression. |
@erenes Have you tried reproducing this in 1.10.3? |
I did now, it also does not reproduce on 1.10.3 for me. |
Are you able to |
This will be a result of #8458 . Made assumptions about the hangar being on flat land, which obviously isn't the case. Should be a relatively easy fix. |
… with lowered hangar tiles
Version of OpenTTD
20210111-master
Expected result
Planes are drawn normally
Actual result
When a plane lands at an airport where the tile under the hangar is lowered (see screenshot), the plane sprites and their shadows appear to get swapped around, causing them to clip into the terrain and buildings. This affects all airports.
Steps to reproduce
Build airport
Lower terrain under hangar
Land plane at airport
Screenshot showing the issue:
And a small savegame with an airport and plane already built showing the issue:
plane-bug-save.zip
The text was updated successfully, but these errors were encountered: