Add a menu option for showjoinaddress
I also had to make the "alphaKey" UINT16. Hopefully nothing breaks!
This commit is contained in:
parent
405639bc78
commit
beba43cffc
|
@ -1663,8 +1663,11 @@ static menuitem_t OP_ServerOptionsMenu[] =
|
||||||
#ifndef NONET
|
#ifndef NONET
|
||||||
{IT_HEADER, NULL, "Advanced", NULL, 225},
|
{IT_HEADER, NULL, "Advanced", NULL, 225},
|
||||||
{IT_STRING | IT_CVAR | IT_CV_STRING, NULL, "Master server", &cv_masterserver, 231},
|
{IT_STRING | IT_CVAR | IT_CV_STRING, NULL, "Master server", &cv_masterserver, 231},
|
||||||
|
|
||||||
{IT_STRING | IT_CVAR, NULL, "Join delay", &cv_joindelay, 246},
|
{IT_STRING | IT_CVAR, NULL, "Join delay", &cv_joindelay, 246},
|
||||||
{IT_STRING | IT_CVAR, NULL, "Attempts to resynchronise", &cv_resynchattempts, 251},
|
{IT_STRING | IT_CVAR, NULL, "Attempts to resynchronise", &cv_resynchattempts, 251},
|
||||||
|
|
||||||
|
{IT_STRING | IT_CVAR, NULL, "Show IP Address of Joiners", &cv_showjoinaddress, 256},
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -327,7 +327,7 @@ typedef struct menuitem_s
|
||||||
void *itemaction;
|
void *itemaction;
|
||||||
|
|
||||||
// hotkey in menu or y of the item
|
// hotkey in menu or y of the item
|
||||||
UINT8 alphaKey;
|
UINT16 alphaKey;
|
||||||
} menuitem_t;
|
} menuitem_t;
|
||||||
|
|
||||||
extern menuitem_t MP_RoomMenu[];
|
extern menuitem_t MP_RoomMenu[];
|
||||||
|
|
Loading…
Reference in New Issue