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

Fix #6966: Only allow switching to a valid company. #6999

Merged
merged 1 commit into from
Dec 29, 2018

Conversation

Alberth289346
Copy link
Contributor

Far from sure this is the one and only point for game-scripts that needs such a check, but it does fix the crash for #6966

Copy link
Contributor

@nielsmh nielsmh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me.

@nielsmh nielsmh merged commit 4a255e8 into OpenTTD:master Dec 29, 2018
@Alberth289346 Alberth289346 deleted the fix-companymode-crash-6966 branch December 29, 2018 15:51
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

Successfully merging this pull request may close these issues.

None yet

2 participants