diff --git a/src/p_local.h b/src/p_local.h index ac92ad7b7..48014f993 100644 --- a/src/p_local.h +++ b/src/p_local.h @@ -354,7 +354,6 @@ msecnode_t* P_DelSecnode(msecnode_t *, msecnode_t *sector_t::*head); void P_CreateSecNodeList(AActor*); // phares 3/14/98 double P_GetMoveFactor(const AActor *mo, double *frictionp); // phares 3/6/98 double P_GetFriction(const AActor *mo, double *frictionfactor); -bool Check_Sides(AActor *, int, int); // phares // [RH] const secplane_t * P_CheckSlopeWalk(AActor *actor, DVector2 &move); diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index ecd6b8d1c..419da0ccb 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -4390,6 +4390,7 @@ void AActor::Deactivate (AActor *activator) void AActor::Destroy () { ClearRenderSectorList(); + ClearRenderLineList(); // [RH] Destroy any inventory this actor is carrying DestroyAllInventory ();