Clear TravellingThinkers on level data clear
This commit is contained in:
parent
b90da3c187
commit
2a660cc3f3
2 changed files with 1 additions and 2 deletions
|
|
@ -1727,8 +1727,6 @@ void FLevelLocals::MoveTravellers()
|
|||
mo->section = nullptr;
|
||||
mo->floorsector = mo->ceilingsector = nullptr;
|
||||
}
|
||||
|
||||
TravellingThinkers.Clear();
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
|
|
@ -297,6 +297,7 @@ void FLevelLocals::ClearLevelData(bool fullgc)
|
|||
probe->ClearNativePointerFields({ fieldTypes, std::size(fieldTypes) });
|
||||
}
|
||||
|
||||
TravellingThinkers.Clear();
|
||||
interpolator.ClearInterpolations(); // [RH] Nothing to interpolate on a fresh level.
|
||||
Thinkers.DestroyAllThinkers(fullgc);
|
||||
ClientsideThinkers.DestroyAllThinkers(fullgc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue