mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-30 16:00:55 +00:00
Restored A_OverlayOffset's ability to cancel out interpolation without the interpolate/add flags.
This commit is contained in:
parent
7477dfa922
commit
18e7b56bdc
1 changed files with 2 additions and 8 deletions
|
@ -841,14 +841,8 @@ void A_OverlayOffset(AActor *self, int layer, double wx, double wy, int flags)
|
|||
if (!(flags & WOF_KEEPX)) psp->x = (flags & WOF_ADD) ? psp->x + wx : wx;
|
||||
if (!(flags & WOF_KEEPY)) psp->y = (flags & WOF_ADD) ? psp->y + wy : wy;
|
||||
|
||||
if (flags & (WOF_ADD | WOF_INTERPOLATE)) psp->InterpolateTic = true;
|
||||
/*
|
||||
if (!(flags & (WOF_INTERPOLATE|WOF_ADD)))
|
||||
{
|
||||
psp->oldx = psp->x;
|
||||
psp->oldy = psp->y;
|
||||
}
|
||||
*/
|
||||
if (!(flags & (WOF_ADD | WOF_INTERPOLATE)))
|
||||
psp->ResetInterpolation();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue