mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
SW: Don't interpolate a sector object if the corresponding lasttic value is 0
This commit is contained in:
parent
37c3f1cc46
commit
ccf6722b70
1 changed files with 4 additions and 0 deletions
|
@ -269,6 +269,10 @@ void so_dointerpolations(int32_t smoothratio) // Stick at b
|
||||||
if (SO_EMPTY(sop))
|
if (SO_EMPTY(sop))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
// Check if interpolation has been explicitly disabled
|
||||||
|
if (interp->lasttic == 0)
|
||||||
|
continue;
|
||||||
|
|
||||||
// Unfortunately, interpolating over less samples doesn't work well
|
// Unfortunately, interpolating over less samples doesn't work well
|
||||||
// in multiplayer. We also skip any sector object not
|
// in multiplayer. We also skip any sector object not
|
||||||
// remotely controlled by some player.
|
// remotely controlled by some player.
|
||||||
|
|
Loading…
Reference in a new issue