Skip to content
Snippets Groups Projects

Fix polyobject thinker leak

Open Alu Folie requested to merge alufolie91/Kart-Public2:polyobjthinkref into next

Before the introduction of seperate thinkerlists in srb2, polyobjects used their own way of adding thinkers to the list, however their "reference" value never gets initiliased. P_RemoveThinker(Delayed) checks if thinkers are still referenced before removal. This means on thinker removal it checks against an unitialised reference value and most of the time does not remove those thinkers This just initialises their reference to 0, so they can be always removed if theyre supposed to

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