- some more portal preparation .

This commit is contained in:
Christoph Oelckers 2016-02-14 16:26:27 +01:00
commit c338b9cde3
7 changed files with 66 additions and 0 deletions

View file

@ -469,6 +469,7 @@ void DSectorPlaneInterpolation::Restore()
sector->SetPlaneTexZ(sector_t::ceiling, baktexz);
}
P_RecalculateAttached3DFloors(sector);
sector->CheckPortalPlane(ceiling? sector_t::ceiling : sector_t::floor);
}
//==========================================================================
@ -505,6 +506,7 @@ void DSectorPlaneInterpolation::Interpolate(fixed_t smoothratio)
*pheight = oldheight + FixedMul(bakheight - oldheight, smoothratio);
sector->SetPlaneTexZ(pos, oldtexz + FixedMul(baktexz - oldtexz, smoothratio));
P_RecalculateAttached3DFloors(sector);
sector->CheckPortalPlane(pos);
}
}