mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Hopefully fix F12 issues
This commit is contained in:
parent
8aa0ba0a70
commit
e2d4c9e8a7
1 changed files with 2 additions and 2 deletions
|
|
@ -3794,13 +3794,13 @@ boolean P_CameraThinker(player_t *player, camera_t *thiscam, boolean resetcalled
|
||||||
P_ResetCamera(player, thiscam);
|
P_ResetCamera(player, thiscam);
|
||||||
resetcalled = true;
|
resetcalled = true;
|
||||||
}
|
}
|
||||||
else
|
else if (!resetcalled)
|
||||||
{
|
{
|
||||||
fixed_t camspeed = P_AproxDistance(thiscam->momx, thiscam->momy);
|
fixed_t camspeed = P_AproxDistance(thiscam->momx, thiscam->momy);
|
||||||
|
|
||||||
P_SlideCameraMove(thiscam);
|
P_SlideCameraMove(thiscam);
|
||||||
|
|
||||||
if (!resetcalled && P_AproxDistance(thiscam->momx, thiscam->momy) == camspeed)
|
if (P_AproxDistance(thiscam->momx, thiscam->momy) == camspeed)
|
||||||
{
|
{
|
||||||
P_ResetCamera(player, thiscam);
|
P_ResetCamera(player, thiscam);
|
||||||
resetcalled = true;
|
resetcalled = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue