mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-06 16:31:47 +00:00
Hopefully fix F12 issues
This commit is contained in:
parent
0672db9e44
commit
e7574957bc
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…
Reference in a new issue