Ported RenderRadius and related code from gzdoom branch
This commit is contained in:
parent
4ee2d4a1a4
commit
87b23d160b
12 changed files with 133 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue