Fix polyobj angle delta

This commit is contained in:
TehRealSalt 2019-05-02 00:48:01 -04:00
parent a187656a8f
commit 913fc8660f

View file

@ -1336,13 +1336,13 @@ static void Polyobj_rotateThings(polyobj_t *po, vertex_t origin, angle_t delta,
if (turnthings == 2 || (turnthings == 1 && !mo->player)) {
mo->angle += delta;
if (mo->player == &players[consoleplayer])
localangle[0] = mo->angle;
localangle[0] += delta;
else if (mo->player == &players[displayplayers[1]])
localangle[1] = mo->angle;
localangle[1] += delta;
else if (mo->player == &players[displayplayers[2]])
localangle[2] = mo->angle;
localangle[2] += delta;
else if (mo->player == &players[displayplayers[3]])
localangle[3] = mo->angle;
localangle[3] += delta;
}
}
}