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
Assertion when building long road at map border #7142
Comments
This was noticed in regression testing #6811, however the assertion also happens in plain master. |
PeterN
added a commit
to PeterN/OpenTTD
that referenced
this issue
Jan 30, 2019
PeterN
added a commit
to PeterN/OpenTTD
that referenced
this issue
Jan 30, 2019
nielsmh
pushed a commit
to nielsmh/OpenTTD
that referenced
this issue
Mar 11, 2019
douiwby
pushed a commit
to douiwby/OpenTTD
that referenced
this issue
Apr 16, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version of OpenTTD
OpenTTD 20190129-master-g6a56a4ceM
Expected result
Building a road over multiple tiles starting at tile 0. The action should error because all the tiles are water.
Actual result
Game crashes due to out of bounds map array test.
src/tile_map.h: 100 : TileType GetTileType(TileIndex): Assertion `tile < MapSize()' failed.
Steps to reproduce
This only happens if freeform_edges is false, such as in the regression test savegame.
The text was updated successfully, but these errors were encountered: