- some more portal preparation .
This commit is contained in:
parent
d5a1004c41
commit
c338b9cde3
7 changed files with 66 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue