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

Check optional value before actually using it. #33505

Merged
merged 1 commit into from
Aug 24, 2019

Conversation

BevapDin
Copy link
Contributor

@BevapDin BevapDin commented Aug 24, 2019

SUMMARY: None

Fixes #33438 (assertion and crash will most likely only happen in debug builds as release builds don't have the assertion and will instead use an uninitialized tripoint, which will just result in there being no creature to use).

@ZhilkinSerg ZhilkinSerg added <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` labels Aug 24, 2019
@ZhilkinSerg ZhilkinSerg merged commit aeacdc9 into CleverRaven:master Aug 24, 2019
@BevapDin BevapDin deleted the dvn branch August 25, 2019 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ESC. out of the harness animal prompt causes an assertion failed error
2 participants