mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-18 02:21:47 +00:00
Making things nicer for the server creation menus of 2P mode and NONET executables.
This commit is contained in:
parent
4efeb02978
commit
8ebb4a3c3f
1 changed files with 7 additions and 4 deletions
11
src/m_menu.c
11
src/m_menu.c
|
@ -1721,7 +1721,11 @@ menu_t MP_ServerDef =
|
|||
&MP_MainDef,
|
||||
MP_ServerMenu,
|
||||
M_DrawServerMenu,
|
||||
27, 30,
|
||||
27, 30
|
||||
#ifdef NONET
|
||||
- 50
|
||||
#endif
|
||||
,
|
||||
0,
|
||||
NULL
|
||||
};
|
||||
|
@ -1733,7 +1737,7 @@ menu_t MP_SplitServerDef =
|
|||
&MP_MainDef,
|
||||
MP_SplitServerMenu,
|
||||
M_DrawServerMenu,
|
||||
27, 30,
|
||||
27, 30 - 50,
|
||||
0,
|
||||
NULL
|
||||
};
|
||||
|
@ -6894,12 +6898,11 @@ static void M_DrawServerMenu(void)
|
|||
{
|
||||
M_DrawGenericMenu();
|
||||
|
||||
M_DrawLevelPlatterHeader(currentMenu->y - lsheadingheight/2, "Server settings", true);
|
||||
|
||||
#ifndef NONET
|
||||
// Room name
|
||||
if (currentMenu == &MP_ServerDef)
|
||||
{
|
||||
M_DrawLevelPlatterHeader(currentMenu->y - lsheadingheight/2, "Server settings", true);
|
||||
if (ms_RoomId < 0)
|
||||
V_DrawRightAlignedString(BASEVIDWIDTH - currentMenu->x, currentMenu->y + MP_ServerMenu[mp_server_room].alphaKey,
|
||||
V_YELLOWMAP, (itemOn == mp_server_room) ? "<Select to change>" : "<Offline Mode>");
|
||||
|
|
Loading…
Reference in a new issue