mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 08:31:14 +00:00
- Fixed: When P_MoveThing() moves the current camera, it also needs to reset the view interpolation.
SVN r3874 (trunk)
This commit is contained in:
parent
44b1879553
commit
a0f19fc788
1 changed files with 4 additions and 0 deletions
|
@ -137,6 +137,10 @@ bool P_MoveThing(AActor *source, fixed_t x, fixed_t y, fixed_t z, bool fog)
|
||||||
source->PrevX = x;
|
source->PrevX = x;
|
||||||
source->PrevY = y;
|
source->PrevY = y;
|
||||||
source->PrevZ = z;
|
source->PrevZ = z;
|
||||||
|
if (source == players[consoleplayer].camera)
|
||||||
|
{
|
||||||
|
R_ResetViewInterpolation();
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue