mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +00:00
- fixed: FInterpolator::DoInterpolations did not handle terminated interpolations properly.
This commit is contained in:
parent
da6fe6cad6
commit
5c8fd4750f
1 changed files with 6 additions and 1 deletions
|
@ -261,9 +261,12 @@ void FInterpolator::DoInterpolations(fixed_t smoothratio)
|
|||
|
||||
didInterp = true;
|
||||
|
||||
for (DInterpolation *probe = Head; probe != NULL; probe = probe->Next)
|
||||
DInterpolation *probe = Head;
|
||||
while (probe != NULL)
|
||||
{
|
||||
DInterpolation *next = probe->Next;
|
||||
probe->Interpolate(smoothratio);
|
||||
probe = next;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -444,6 +447,8 @@ void DSectorPlaneInterpolation::UpdateInterpolation()
|
|||
oldheight = sector->ceilingplane.d;
|
||||
oldtexz = sector->GetPlaneTexZ(sector_t::ceiling);
|
||||
}
|
||||
if (oldtexz <-128*FRACUNIT)
|
||||
__asm nop
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Reference in a new issue