Cam follows faster in 2P

This commit is contained in:
TehRealSalt 2018-10-22 17:48:21 -04:00
parent 3dc02a4eb4
commit 7aa8b94b22
1 changed files with 4 additions and 1 deletions

View File

@ -8637,7 +8637,10 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
{
thiscam->momx = x - thiscam->x;
thiscam->momy = y - thiscam->y;
thiscam->momz = FixedMul(z - thiscam->z, camspeed/2);
if (splitscreen == 1) // Wide-screen needs to follow faster, due to a smaller vertical:horizontal ratio of screen space
thiscam->momz = FixedMul(z - thiscam->z, (3*camspeed)/4);
else
thiscam->momz = FixedMul(z - thiscam->z, camspeed/2);
}
thiscam->pan = pan;