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
The new 1.1.1 version seems to be responsible for a small (yet annoying) bug: The object placement window is always oversized, not to be resized because the button lies in the unaccessible bottom right corner.
How to reproduce the bug:
-newgrfs : OGFX+ Landscape 1.1.1 alone.
-new game
-open object window
For some weird reason, this doesn't happen with version 1.1.0.
This bug occurs with trunk r27038, r27068, as well as with OTTD 1.4.3.
I thought at first that it was only a bug related to OGFX+ Landscape, but I've been told (Alberth) it looked more like it is caused by OTTD itself.
So while the NewGRF was in error here, the question is perhaps how to handle such cases properly. The ObjectSpec::height data member documentation says "The height of this structure, in heightlevels; max MAX_TILE_HEIGHT." where MAX_TILE_HEIGHT = 255.
Given that 96 is already high enough to fill my entire screen height, I don't even want to know the height of the window with max object height.
There is not much that OpenTTD can do about this. What are valid heights, and what aren't? Especially since we can go way above the 96 heightlevels in this NewGRF.
arikover opened the ticket and wrote:
Attachments
Reported version: trunk
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/6178
The text was updated successfully, but these errors were encountered: