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

hud models: add nullptr check for psprites without caller #1452

Merged
merged 1 commit into from Aug 15, 2021
Merged

hud models: add nullptr check for psprites without caller #1452

merged 1 commit into from Aug 15, 2021

Conversation

OrdinaryMagician
Copy link
Contributor

Fixes the crash in Action Doom 2 when alt-firing melee weapons.

Copy link
Collaborator

@alexey-lysiuk alexey-lysiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add spaces around ? and :. Code is harder to read when it's written without them.

@coelckers coelckers merged commit 13bdd32 into ZDoom:master Aug 15, 2021
@OrdinaryMagician OrdinaryMagician deleted the hudmodel_nullptrfix branch August 15, 2021 07:54
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