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: vehicle split crash #3559

Merged

Conversation

joveeater
Copy link
Collaborator

Summary

SUMMARY: Bugfixes "Fixes a crash when vehicles are split"

Purpose of change

Fixes #3552.

Describe the solution

Rejig the constructors for vehicles and their parts. Also cleanup the removed parts right after the split to prevent further bugs.

Additional context

I've also done a bit of cleanup and removed an unused monster constructor and added their missed inventory to the other. There's also a few references added to remove unnecessary copies.

@github-actions github-actions bot added the src changes related to source code. label Nov 5, 2023
@scarf005 scarf005 changed the title Fix vehicle split crash fix: vehicle split crash Nov 5, 2023
@scarf005 scarf005 self-assigned this Nov 5, 2023
Copy link
Member

@scarf005 scarf005 left a comment

Choose a reason for hiding this comment

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

2023-11-05_12-59-37.mp4

wow vehicle code is really something

@scarf005 scarf005 added this pull request to the merge queue Nov 5, 2023
Merged via the queue into cataclysmbnteam:upload with commit 12a8325 Nov 5, 2023
14 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
src changes related to source code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite loop and RAM exhaustion when attempting to split vehicle
2 participants