mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Cam follows faster in 2P
This commit is contained in:
parent
14522752fe
commit
30e83ff305
1 changed files with 4 additions and 1 deletions
|
|
@ -8637,7 +8637,10 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
|
||||||
{
|
{
|
||||||
thiscam->momx = x - thiscam->x;
|
thiscam->momx = x - thiscam->x;
|
||||||
thiscam->momy = y - thiscam->y;
|
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;
|
thiscam->pan = pan;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue