mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix lookback interpolating
# Conflicts: # src/p_setup.c # src/r_fps.c
This commit is contained in:
parent
47f3992cef
commit
946beabdf6
2 changed files with 8 additions and 0 deletions
|
|
@ -4509,6 +4509,10 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
|
||||||
if (rendermode == render_none || reloadinggamestate)
|
if (rendermode == render_none || reloadinggamestate)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
R_ResetViewInterpolation(0);
|
||||||
|
R_ResetViewInterpolation(0);
|
||||||
|
R_UpdateMobjInterpolators();
|
||||||
|
|
||||||
// Title card!
|
// Title card!
|
||||||
G_StartTitleCard();
|
G_StartTitleCard();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3593,7 +3593,11 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lookbackdown)
|
if (lookbackdown)
|
||||||
|
{
|
||||||
P_MoveChaseCamera(player, thiscam, false);
|
P_MoveChaseCamera(player, thiscam, false);
|
||||||
|
R_ResetViewInterpolation(num + 1);
|
||||||
|
R_ResetViewInterpolation(num + 1);
|
||||||
|
}
|
||||||
|
|
||||||
return (x == thiscam->x && y == thiscam->y && z == thiscam->z && angle == thiscam->aiming);
|
return (x == thiscam->x && y == thiscam->y && z == thiscam->z && angle == thiscam->aiming);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue