- removed several unused setter functions for level data structures and fixed some incorrect uses.
This commit is contained in:
parent
9a07f81269
commit
9b5a4b6d43
8 changed files with 25 additions and 100 deletions
|
|
@ -1782,7 +1782,7 @@ public:
|
|||
m_Type = DCeiling::ceilLowerByValue; // doesn't really matter as long as it's no special value
|
||||
m_Tag=tag;
|
||||
m_TopHeight=m_BottomHeight=sec->ceilingplane.PointToDist(sec->centerspot,destheight);
|
||||
m_Direction=destheight>sec->GetPlaneTexZ(sector_t::ceiling)? 1:-1;
|
||||
m_Direction=destheight>sec->GetPlaneTexZF(sector_t::ceiling)? 1:-1;
|
||||
|
||||
// Do not interpolate instant movement ceilings.
|
||||
double movedist = fabs(sec->ceilingplane.fD() - m_BottomHeight);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue