- fixed: The line portal links were not deleted when an actor was destroyed.

This commit is contained in:
Christoph Oelckers 2016-05-11 09:58:03 +02:00
parent 966e6797e4
commit 77e30bb7d7
2 changed files with 1 additions and 1 deletions

View file

@ -354,7 +354,6 @@ msecnode_t* P_DelSecnode(msecnode_t *, msecnode_t *sector_t::*head);
void P_CreateSecNodeList(AActor*); // phares 3/14/98 void P_CreateSecNodeList(AActor*); // phares 3/14/98
double P_GetMoveFactor(const AActor *mo, double *frictionp); // phares 3/6/98 double P_GetMoveFactor(const AActor *mo, double *frictionp); // phares 3/6/98
double P_GetFriction(const AActor *mo, double *frictionfactor); double P_GetFriction(const AActor *mo, double *frictionfactor);
bool Check_Sides(AActor *, int, int); // phares
// [RH] // [RH]
const secplane_t * P_CheckSlopeWalk(AActor *actor, DVector2 &move); const secplane_t * P_CheckSlopeWalk(AActor *actor, DVector2 &move);

View file

@ -4390,6 +4390,7 @@ void AActor::Deactivate (AActor *activator)
void AActor::Destroy () void AActor::Destroy ()
{ {
ClearRenderSectorList(); ClearRenderSectorList();
ClearRenderLineList();
// [RH] Destroy any inventory this actor is carrying // [RH] Destroy any inventory this actor is carrying
DestroyAllInventory (); DestroyAllInventory ();