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: Crash on waypoint selection window #7552

Merged
merged 1 commit into from Apr 30, 2019

Conversation

kiwitreekor
Copy link
Contributor

The game crashes when joining waypoints, since waypoints have no coverage.

@LordAro
Copy link
Member

LordAro commented Apr 30, 2019

type_traits! Interesting.

Would probably be better to use the existing method of distinguishing between waypoints and stations though - T::EXPECTED_FACIL == FACIL_WAYPOINT ?

@kiwitreekor
Copy link
Contributor Author

kiwitreekor commented Apr 30, 2019

I didn't know that way...
Now I fixed to use that way.

@PeterN PeterN merged commit 28b23a6 into OpenTTD:master Apr 30, 2019
@kiwitreekor kiwitreekor deleted the fix-waypoint-crash branch January 12, 2020 16:16
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

3 participants