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
1189720220
commit
5290e3fcd8
1 changed files with 1 additions and 1 deletions
|
|
@ -3356,7 +3356,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…
Reference in a new issue