Fix 'Could not find space in level mesh buffer' error
Interpolate sector height updates
This commit is contained in:
parent
858247f25f
commit
e94bd7f641
2 changed files with 16 additions and 1 deletions
|
|
@ -509,6 +509,11 @@ void DSectorPlaneInterpolation::Interpolate(double smoothratio)
|
|||
sector->SetPlaneTexZ(pos, oldtexz + (baktexz - oldtexz) * smoothratio, true);
|
||||
P_RecalculateAttached3DFloors(sector);
|
||||
sector->CheckPortalPlane(pos);
|
||||
|
||||
if (ceiling)
|
||||
LevelMeshUpdater->CeilingHeightChanged(sector);
|
||||
else
|
||||
LevelMeshUpdater->FloorHeightChanged(sector);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue