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

Crash on invalid misc setting #5154

Closed
DorpsGek opened this issue Apr 15, 2012 · 1 comment
Closed

Crash on invalid misc setting #5154

DorpsGek opened this issue Apr 15, 2012 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Rubidium opened the ticket and wrote:

When starting OpenTTD and it finds a misc setting that is invalid, i.e. triggering ShowErrorMessage, OpenTTD crashes nastily due to missing language files.

Adding an initial language initialisation before loading the minimum part of the config does not solve the issue as now the sprites aren't loaded. However, the sprites shoud only be loaded after we know which set to use, ... So all-in-all there needs to be some method for postponing the ShowErrorMessages from very early startup.

If language/blitter/videodriver are invalid this will yield another type of error and for the rest OpenTTD can work on the default values as well until we are far enough in the start procedures to show the error messages.

Reported version: 1.2.0-RC4
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/5154
@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Fixed

in r24250


This comment was imported from FlySpray: https://bugs.openttd.org/task/5154

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant