mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
parent
60473e96d0
commit
1871de39e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue