Skip to content
Snippets Groups Projects

Prevent many Mobj related segfaults

Merged Alu Folie requested to merge alufolie91/Kart-Public2:mobjcrashfixes into master

Pretty huge mr, but all of those were tried and tested in the Saturn custom client

  • Fix segfaults when damaging mobj with no painstate and when removing source from ShouldDamage
  • Fix segfault when removing mobjs while iterating thinglist
  • Fix dangling pointer in mapthing after removing mobj
  • Fix a segfault when the game cant spawn a MapThing in P_SpawnMapThing
  • If P_SetMobjState gets called with a player mobj use P_SetPlayerMobjState instead
  • Add a few P_MobjWasRemoved checks
  • Make mine explosions a little safer
  • Fix rare K_RepairOrbitChain crash (thx indev c:)
Edited by toaster

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading