- fixed: UpdateRenderSectorList needs to reset the sector before traversing floor portals.

This commit is contained in:
Christoph Oelckers 2016-12-26 16:21:44 +01:00
parent aeee80c8fa
commit 625e97dfd1
1 changed files with 1 additions and 0 deletions

View File

@ -6755,6 +6755,7 @@ void AActor::UpdateRenderSectorList()
sec = P_PointInSector(newpos);
render_sectorlist = P_AddSecnode(sec, this, render_sectorlist, sec->render_thinglist);
}
sec = Sector;
lasth = FLT_MAX;
while (!sec->PortalBlocksMovement(sector_t::floor))
{