From eb81bea943e2b6028332de2362c65907abcd7924 Mon Sep 17 00:00:00 2001 From: Ashnal Date: Mon, 17 Aug 2020 04:03:02 -0400 Subject: [PATCH] Move code down so declarations are above to appease C90 --- src/d_clisrv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index bb3fb3e1..2212a64b 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -1262,10 +1262,6 @@ static inline void CL_DrawConnectionStatus(void) } else if (lastfilenum != -1) { - // Draw the bottom box. - M_DrawTextBox(BASEVIDWIDTH/2-128-8, BASEVIDHEIGHT-58-8, 32, 1); - V_DrawCenteredString(BASEVIDWIDTH/2, BASEVIDHEIGHT-58-14, V_YELLOWMAP, "Press ESC to abort"); - INT32 dldlength; INT32 totalfileslength; UINT32 totaldldsize; @@ -1273,6 +1269,10 @@ static inline void CL_DrawConnectionStatus(void) fileneeded_t *file = &fileneeded[lastfilenum]; char *filename = file->filename; + // Draw the bottom box. + M_DrawTextBox(BASEVIDWIDTH/2-128-8, BASEVIDHEIGHT-58-8, 32, 1); + V_DrawCenteredString(BASEVIDWIDTH/2, BASEVIDHEIGHT-58-14, V_YELLOWMAP, "Press ESC to abort"); + Net_GetNetStat(); dldlength = (INT32)((file->currentsize/(double)file->totalsize) * 256); if (dldlength > 256)