Fix mixed declarations

This commit is contained in:
Sally Coolatta 2022-09-02 10:18:20 -04:00
parent 9e4ce2a64b
commit e59521f14f

View file

@ -8599,6 +8599,7 @@ static void M_DrawConnectMenu(void)
const char *spd = ""; const char *spd = "";
INT32 numPages = (serverlistcount+(SERVERS_PER_PAGE-1))/SERVERS_PER_PAGE; INT32 numPages = (serverlistcount+(SERVERS_PER_PAGE-1))/SERVERS_PER_PAGE;
int waiting; int waiting;
int mservflags = V_ALLOWLOWERCASE;
for (i = FIRSTSERVERLINE; i < min(localservercount, SERVERS_PER_PAGE)+FIRSTSERVERLINE; i++) for (i = FIRSTSERVERLINE; i < min(localservercount, SERVERS_PER_PAGE)+FIRSTSERVERLINE; i++)
MP_ConnectMenu[i].status = IT_STRING | IT_SPACE; MP_ConnectMenu[i].status = IT_STRING | IT_SPACE;
@ -8611,7 +8612,6 @@ static void M_DrawConnectMenu(void)
highlightflags, va("%u of %d", serverlistpage+1, numPages)); highlightflags, va("%u of %d", serverlistpage+1, numPages));
// Did you change the Server Browser address? Have a little reminder. // Did you change the Server Browser address? Have a little reminder.
int mservflags = V_ALLOWLOWERCASE;
if (CV_IsSetToDefault(&cv_masterserver)) if (CV_IsSetToDefault(&cv_masterserver))
mservflags = mservflags|highlightflags|V_30TRANS; mservflags = mservflags|highlightflags|V_30TRANS;
else else