Skip to content
Snippets Groups Projects
  • Ashnal's avatar
    bd4150b9
    Fixes an issue where mobjs with shadows would never get freed, · bd4150b9
    Ashnal authored
    due to their reference count getting reset after
    having their shadows spawned, resulting in a reference count of -1
    and the mobj never being freed, or a use-after-free during the shadow's thinker.
    Also adds some P_SetTargets to P_BlockThingsIterator to fix an inconsistency I noticed while investigating this.
    bd4150b9
    History
    Fixes an issue where mobjs with shadows would never get freed,
    Ashnal authored
    due to their reference count getting reset after
    having their shadows spawned, resulting in a reference count of -1
    and the mobj never being freed, or a use-after-free during the shadow's thinker.
    Also adds some P_SetTargets to P_BlockThingsIterator to fix an inconsistency I noticed while investigating this.