Merge branch 'net-update-less' into 'master'

Only call NetUpdate once in D_SRB2Loop

See merge request KartKrew/Kart!1069
This commit is contained in:
toaster 2023-03-26 13:14:08 +00:00
commit 34eb1110a3
3 changed files with 0 additions and 23 deletions

View file

@ -724,8 +724,6 @@ static void D_Display(void)
else
wipetypepost = -1;
NetUpdate(); // send out any new accumulation
// It's safe to end the game now.
if (G_GetExitGameFlag())
{

View file

@ -6226,9 +6226,6 @@ void HWR_RenderSkyboxView(player_t *player)
// set window position
HWR_ShiftViewPort();
// check for new console commands.
NetUpdate();
gl_viewx = FIXED_TO_FLOAT(dup_viewx);
gl_viewy = FIXED_TO_FLOAT(dup_viewy);
gl_viewz = FIXED_TO_FLOAT(dup_viewz);
@ -6338,9 +6335,6 @@ void HWR_RenderSkyboxView(player_t *player)
if (cv_glbatching.value)
HWR_RenderBatches();
// Check for new console commands.
NetUpdate();
#ifdef ALAM_LIGHTING
//14/11/99: Hurdler: moved here because it doesn't work with
// subsector, see other comments;
@ -6364,9 +6358,6 @@ void HWR_RenderSkyboxView(player_t *player)
HWD.pfnSetTransform(NULL);
HWD.pfnUnSetShader();
// Check for new console commands.
NetUpdate();
// added by Hurdler for correct splitscreen
// moved here by hurdler so it works with the new near clipping plane
HWD.pfnGClipRect(0, 0, vid.width, vid.height, NZCLIP_PLANE);
@ -6438,9 +6429,6 @@ void HWR_RenderPlayerView(void)
// set window position
HWR_ShiftViewPort();
// check for new console commands.
NetUpdate();
gl_viewx = FIXED_TO_FLOAT(dup_viewx);
gl_viewy = FIXED_TO_FLOAT(dup_viewy);
gl_viewz = FIXED_TO_FLOAT(dup_viewz);
@ -6556,9 +6544,6 @@ void HWR_RenderPlayerView(void)
if (cv_glbatching.value)
HWR_RenderBatches();
// Check for new console commands.
NetUpdate();
#ifdef ALAM_LIGHTING
//14/11/99: Hurdler: moved here because it doesn't work with
// subsector, see other comments;
@ -6592,9 +6577,6 @@ void HWR_RenderPlayerView(void)
HWR_DoPostProcessor(player);
// Check for new console commands.
NetUpdate();
// added by Hurdler for correct splitscreen
// moved here by hurdler so it works with the new near clipping plane
HWD.pfnGClipRect(0, 0, vid.width, vid.height, NZCLIP_PLANE);

View file

@ -1533,9 +1533,6 @@ void R_RenderPlayerView(void)
R_ClearSprites();
Portal_InitList();
// check for new console commands.
NetUpdate();
// The head node is the last node output.
Mask_Pre(&masks[nummasks - 1]);