major A_ChangeModel cleanup
This commit is contained in:
parent
5b85557ddb
commit
b55ffdbfd3
4 changed files with 197 additions and 104 deletions
|
|
@ -1336,6 +1336,15 @@ void DActorModelData::Serialize(FSerializer& arc)
|
|||
("hasModel", hasModel);
|
||||
}
|
||||
|
||||
void DActorModelData::OnDestroy()
|
||||
{
|
||||
modelIDs.Reset();
|
||||
modelFrameGenerators.Reset();
|
||||
skinIDs.Reset();
|
||||
surfaceSkinIDs.Reset();
|
||||
animationIDs.Reset();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
//
|
||||
// PROC P_ExplodeMissile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue