Clear next and prev list pointers on VTs when destroyed
This commit is contained in:
parent
6c42ea7518
commit
486be3a5b6
1 changed files with 1 additions and 1 deletions
|
|
@ -1023,7 +1023,7 @@ void DVisualThinker::OnDestroy()
|
|||
_next->_prev = _prev;
|
||||
if (Level->VisualThinkerHead == this)
|
||||
Level->VisualThinkerHead = _next;
|
||||
|
||||
_next = _prev = nullptr;
|
||||
PT.alpha = 0.0; // stops all rendering.
|
||||
Super::OnDestroy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue