- floatified the few remaining linedef and sector properties that still were fixed_t. The only fixed point things left in r_defs.h are the nodes and a fixed point setter function for vertex_t, which is still needed by the node builder.
This commit is contained in:
parent
31845cd16b
commit
0f99d7d73f
21 changed files with 101 additions and 110 deletions
|
|
@ -441,12 +441,12 @@ void DSectorPlaneInterpolation::UpdateInterpolation()
|
|||
if (!ceiling)
|
||||
{
|
||||
oldheight = sector->floorplane.fD();
|
||||
oldtexz = sector->GetPlaneTexZF(sector_t::floor);
|
||||
oldtexz = sector->GetPlaneTexZ(sector_t::floor);
|
||||
}
|
||||
else
|
||||
{
|
||||
oldheight = sector->ceilingplane.fD();
|
||||
oldtexz = sector->GetPlaneTexZF(sector_t::ceiling);
|
||||
oldtexz = sector->GetPlaneTexZ(sector_t::ceiling);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -495,7 +495,7 @@ void DSectorPlaneInterpolation::Interpolate(double smoothratio)
|
|||
}
|
||||
|
||||
bakheight = pplane->fD();
|
||||
baktexz = sector->GetPlaneTexZF(pos);
|
||||
baktexz = sector->GetPlaneTexZ(pos);
|
||||
|
||||
if (refcount == 0 && oldheight == bakheight)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue