mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 13:31:37 +00:00
- fixed: UpdateRenderSectorList needs to reset the sector before traversing floor portals.
This commit is contained in:
parent
aeee80c8fa
commit
625e97dfd1
1 changed files with 1 additions and 0 deletions
|
@ -6755,6 +6755,7 @@ void AActor::UpdateRenderSectorList()
|
||||||
sec = P_PointInSector(newpos);
|
sec = P_PointInSector(newpos);
|
||||||
render_sectorlist = P_AddSecnode(sec, this, render_sectorlist, sec->render_thinglist);
|
render_sectorlist = P_AddSecnode(sec, this, render_sectorlist, sec->render_thinglist);
|
||||||
}
|
}
|
||||||
|
sec = Sector;
|
||||||
lasth = FLT_MAX;
|
lasth = FLT_MAX;
|
||||||
while (!sec->PortalBlocksMovement(sector_t::floor))
|
while (!sec->PortalBlocksMovement(sector_t::floor))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue