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

suspendmanager: Fix nil access of tile type and map block #849

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

plule
Copy link
Contributor

@plule plule commented Oct 3, 2023

When looking at neighbours with getTileType and getMapBlock, we may be looking out of bound.

Check for nil before using the return value

@plule plule changed the title Fix nil access of tiletype and tileblock suspendmanager: Fix nil access of tile type and map block Oct 3, 2023
@myk002 myk002 merged commit a8a7ec8 into DFHack:master Oct 3, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants