Commit 71a7f4a7 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Duke3d: remove interpolation fixups from subway

These aren't needed anymore after Striker's patch to improve overall interpolation.
parent 0c956619
......@@ -6465,11 +6465,6 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
pPlayer->q16ang += fix16_from_int(q);
pPlayer->q16ang &= 0x7FFFFFF;
if (g_netServer || numplayers > 1)
{
pPlayer->opos.x = pPlayer->pos.x;
pPlayer->opos.y = pPlayer->pos.y;
}
if (sprite[pPlayer->i].extra <= 0)
{
sprite[pPlayer->i].x = pPlayer->pos.x;
......@@ -6489,9 +6484,6 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
(sprite[j].picnum != SECTOREFFECTOR || (sprite[j].lotag == SE_49_POINT_LIGHT||sprite[j].lotag == SE_50_SPOT_LIGHT))
&& sprite[j].picnum != LOCATORS)
{
// fix interpolation
if (numplayers < 2 && !g_netServer)
actor[j].bpos.vec2 = sprite[j].pos.vec2;
if (move_rotfixed_sprite(j, pSprite-sprite, pData[2]))
rotatepoint(pSprite->pos.vec2, sprite[j].pos.vec2, q, &sprite[j].pos.vec2);
......@@ -6501,8 +6493,6 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
sprite[j].ang+=q;
if (g_netServer || numplayers > 1)
actor[j].bpos.vec2 = sprite[j].pos.vec2;
}
j = nextspritesect[j];
#ifdef YAX_ENABLE
......@@ -6528,18 +6518,6 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
MaybeTrainKillEnemies(spriteNum);
}
}
else
{
// fix for jittering of sprites in halted subways
for (SPRITES_OF_SECT(pSprite->sectnum, j))
{
// KEEPINSYNC2
if (sprite[j].statnum != STAT_PLAYER && sector[sprite[j].sectnum].lotag != ST_2_UNDERWATER &&
(sprite[j].picnum != SECTOREFFECTOR || (sprite[j].lotag == SE_49_POINT_LIGHT||sprite[j].lotag == SE_50_SPOT_LIGHT))
&& sprite[j].picnum != LOCATORS)
actor[j].bpos.vec2 = sprite[j].pos.vec2;
}
}
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment