mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 04:51:19 +00:00
- Fixed: The player's position was only predicted during the duration of R_SetupFrame().
Consequently, if somebody used the chasecam while predicting, they would appear to lag behind the camera, because their actor would be at its unpredicted position by the time sprites were processed. SVN r3603 (trunk)
This commit is contained in:
parent
2f561abdea
commit
118e513d03
3 changed files with 1 additions and 2 deletions
|
@ -2550,7 +2550,6 @@ void P_UnPredictPlayer ()
|
|||
{
|
||||
player_t *player = &players[consoleplayer];
|
||||
|
||||
|
||||
if (player->cheats & CF_PREDICTING)
|
||||
{
|
||||
AActor *act = player->mo;
|
||||
|
|
|
@ -861,6 +861,7 @@ void R_RenderActorView (AActor *actor, bool dontmaplines)
|
|||
}
|
||||
WallMirrors.Clear ();
|
||||
interpolator.RestoreInterpolations ();
|
||||
P_UnPredictPlayer();
|
||||
R_SetupBuffer ();
|
||||
|
||||
// If we don't want shadered colormaps, NULL it now so that the
|
||||
|
|
|
@ -913,7 +913,6 @@ void R_SetupFrame (AActor *actor)
|
|||
|
||||
Renderer->SetupFrame(player);
|
||||
|
||||
P_UnPredictPlayer ();
|
||||
validcount++;
|
||||
|
||||
if (RenderTarget == screen && r_clearbuffer != 0)
|
||||
|
|
Loading…
Reference in a new issue