mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 20:40:47 +00:00
SW: Disable interpolation of sector objects that
don't move as smooth as possible in multiplayer
This commit is contained in:
parent
f3654d80e7
commit
bdacab366a
1 changed files with 5 additions and 0 deletions
|
@ -251,6 +251,11 @@ void so_dointerpolations(int32_t smoothratio) // Stick at b
|
|||
if (sop->xmid == INT32_MAX /*|| sop->xmid == MAXSO*/)
|
||||
continue;
|
||||
|
||||
// Unfortunately, interpolating over less samples doesn't
|
||||
// work well in multiplayer, so conditionally disable this
|
||||
if (CommEnabled && (interp->lasttic != synctics))
|
||||
continue;
|
||||
|
||||
for (i = 0, data = interp->data; i < interp->numinterpolations; i++, data++)
|
||||
{
|
||||
int32_t ratio = smoothratio * synctics + 65536 * interp->tic;
|
||||
|
|
Loading…
Reference in a new issue