Skip to content
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

The victory screen newspaper slows the game down considerably #9209

Closed
unbeatable-101 opened this issue May 7, 2021 · 1 comment
Closed

Comments

@unbeatable-101
Copy link
Contributor

Version of OpenTTD

OpenTTD Version 1.11.2 (1.11.2), macOS 11.3.1 (20E241)

Expected result

The game doesn't grind to a halt displaying it

Actual result

The game grinds to a halt displaying it

Steps to reproduce

Play until the victory date (In my case 2051-01-01)
Punfingwell City Transport, 2050-12-19.sav.zip

Screen.Recording.2021-05-07.at.19.23.42.mp4
PeterN added a commit to PeterN/OpenTTD that referenced this issue May 8, 2021
…screen is too small.

If the highscore/news window panel size, which is now scaled by GUI zoom, is larger than the screen size, a loop will be entered where the window is repeatedly resized.

This is resolved by removing the minimal size from the panel, as the window is always resized to cover the screen anyway. This means the screen size can never be too small.
@PeterN
Copy link
Member

PeterN commented May 8, 2021

This is also reproducible from the Highscore table accessible from the main intro menu.

@PeterN PeterN closed this as completed in 8c3fa2a May 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants