Skip to content

Conversation

@tederis
Copy link
Member

@tederis tederis commented Sep 23, 2025

Fixes a crash described in #4490.

@FileEX
Copy link
Member

FileEX commented Sep 23, 2025

Doesn’t the same problem occur in TestSphereAgainstWorld? Maybe it’s worth fixing it right away in this PR.

ConvertMatrixToEulerAngles(*entity->matrix, result.entityRotation.fX, result.entityRotation.fY, result.entityRotation.fZ);

FileEX
FileEX previously approved these changes Sep 23, 2025
@tederis
Copy link
Member Author

tederis commented Sep 24, 2025

Doesn’t the same problem occur in TestSphereAgainstWorld? Maybe it’s worth fixing it right away in this PR.

That's interesting that testSphereAgainstWorld doesn't cause the crash. But you're right, it should also be fixed.

@FileEX FileEX merged commit da8e500 into multitheftauto:master Sep 24, 2025
7 of 8 checks passed
@FileEX FileEX added this to the 1.7.1 milestone Sep 24, 2025
MTABot pushed a commit that referenced this pull request Sep 24, 2025
da8e500 processLineAgainstMesh crash fix (#4491)
4ce24be Visual Studio Update
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