Skip to content

Fix crash in CVehicleAnimGroup::ComputeAnimDoorOffsets - #5448

Open
MoriskaSosiska wants to merge 3 commits into
multitheftauto:masterfrom
MoriskaSosiska:fix-cvagcado-no-anim-crash
Open

MoriskaSosiska wants to merge 3 commits into
multitheftauto:masterfrom
MoriskaSosiska:fix-cvagcado-no-anim-crash

Conversation

@MoriskaSosiska

Copy link
Copy Markdown
Contributor

For reasons unclear to me, CAnimManager_GetAnimAssociation could return nullptr in this code, and its result was not checked afterward.

This hook fixes the issue by checking the returned result.

@FileEX FileEX added the bugfix Solution to a bug of any kind label Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Solution to a bug of any kind

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants