mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed: The line portal links were not deleted when an actor was destroyed.
This commit is contained in:
parent
966e6797e4
commit
77e30bb7d7
2 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -4390,6 +4390,7 @@ void AActor::Deactivate (AActor *activator)
|
|||
void AActor::Destroy ()
|
||||
{
|
||||
ClearRenderSectorList();
|
||||
ClearRenderLineList();
|
||||
|
||||
// [RH] Destroy any inventory this actor is carrying
|
||||
DestroyAllInventory ();
|
||||
|
|
Loading…
Reference in a new issue