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 reach attack crash #1606

Merged
merged 1 commit into from
Jun 8, 2022
Merged

Fix reach attack crash #1606

merged 1 commit into from
Jun 8, 2022

Conversation

Coolthulhu
Copy link
Member

Summary

SUMMARY: Bugfixes "Fix reach attack crash"

Purpose of change

A missing null check caused a reliable nullptr deference in reach attack code. Added a check for null.

Describe the solution

Check for null when getting a potentially-nonexistent monster's size.

Describe alternatives you've considered

Testing

Additional context

@Coolthulhu Coolthulhu self-assigned this Jun 8, 2022
@Coolthulhu Coolthulhu merged commit f4eb343 into upload Jun 8, 2022
@olanti-p olanti-p deleted the fix-reach-crash branch March 24, 2023 23:10
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.

1 participant