Move declaration to appease C90

also remove some extra tab characters
This commit is contained in:
Ashnal 2020-08-17 03:56:13 -04:00
parent afc6bdbc7e
commit 03150e5fe6

View file

@ -1241,11 +1241,12 @@ static inline void CL_DrawConnectionStatus(void)
if (cl_mode == CL_LOADFILES) if (cl_mode == CL_LOADFILES)
{ {
INT32 totalfileslength; INT32 totalfileslength;
INT32 loadcompletednum = 0;
INT32 i;
V_DrawCenteredString(BASEVIDWIDTH/2, BASEVIDHEIGHT-24-24, V_YELLOWMAP, "Press ESC to abort"); V_DrawCenteredString(BASEVIDWIDTH/2, BASEVIDHEIGHT-24-24, V_YELLOWMAP, "Press ESC to abort");
//ima just count files here //ima just count files here
INT32 loadcompletednum = 0;
INT32 i;
for (i = 0; i < fileneedednum; i++) for (i = 0; i < fileneedednum; i++)
if (fileneeded[i].status == FS_OPEN) if (fileneeded[i].status == FS_OPEN)
loadcompletednum++; loadcompletednum++;
@ -1279,8 +1280,6 @@ static inline void CL_DrawConnectionStatus(void)
V_DrawFill(BASEVIDWIDTH/2-128, BASEVIDHEIGHT-58, 256, 8, 175); V_DrawFill(BASEVIDWIDTH/2-128, BASEVIDHEIGHT-58, 256, 8, 175);
V_DrawFill(BASEVIDWIDTH/2-128, BASEVIDHEIGHT-58, dldlength, 8, 160); V_DrawFill(BASEVIDWIDTH/2-128, BASEVIDHEIGHT-58, dldlength, 8, 160);
memset(tempname, 0, sizeof(tempname)); memset(tempname, 0, sizeof(tempname));
// offset filename to just the name only part // offset filename to just the name only part
filename += strlen(filename) - nameonlylength(filename); filename += strlen(filename) - nameonlylength(filename);