Loop camera: do not pan with drifts

This would offset the camera in loops. Bad since they
sometimes have very specific parameters.
This commit is contained in:
James R 2024-03-13 02:09:33 -07:00
parent 60473e96d0
commit 1871de39e2

View file

@ -3473,7 +3473,7 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
y = mo->y - FixedMul(FINESINE((angle>>ANGLETOFINESHIFT) & FINEMASK), distxy);
// SRB2Kart: set camera panning
if (camstill || resetcalled || player->playerstate == PST_DEAD)
if (camstill || resetcalled || player->playerstate == PST_DEAD || player->loop.radius)
pan = xpan = ypan = 0;
else
{