Ported RenderRadius and related code from gzdoom branch

This commit is contained in:
ZZYZX 2016-12-25 13:09:32 +02:00
commit 87b23d160b
12 changed files with 133 additions and 6 deletions

View file

@ -277,6 +277,8 @@ void AActor::UnlinkFromWorld ()
sector_list = touching_sectorlist;
touching_sectorlist = NULL; //to be restored by P_SetThingPosition
P_UnlinkRenderSectors(this);
}
}
@ -456,6 +458,8 @@ void AActor::LinkToWorld(bool spawningmapthing, sector_t *sector)
P_CreateSecNodeList(this);
touching_sectorlist = sector_list; // Attach to thing
sector_list = NULL; // clear for next time
P_LinkRenderSectors(this);
}