mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-19 22:42:46 +00:00
Don't let testers shoot themselves in menus
This commit is contained in:
parent
e9668598d2
commit
f4d98a14b6
3 changed files with 35 additions and 12 deletions
|
|
@ -2179,6 +2179,10 @@ void F_TitleScreenTicker(boolean run)
|
|||
if (!cv_rollingdemos.value)
|
||||
return;
|
||||
|
||||
#if defined (TESTERS)
|
||||
return;
|
||||
#endif
|
||||
|
||||
// Wait for a while (for the music to finish, preferably)
|
||||
// before starting demos
|
||||
if (demoDelayLeft)
|
||||
|
|
|
|||
|
|
@ -1460,7 +1460,12 @@ void M_CharacterSelectTick(void)
|
|||
CV_StealthSetValue(&cv_usejoystick[0], setup_player[0].ponedevice);
|
||||
}
|
||||
|
||||
M_SetupNextMenu(&PLAY_MainDef, false);
|
||||
#if defined (TESTERS)
|
||||
M_SetupNextMenu(&PLAY_MP_OptSelectDef, false);
|
||||
#else
|
||||
M_SetupNextMenu(&PLAY_MainDef, false);
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
else // In a game
|
||||
|
|
|
|||
|
|
@ -3,22 +3,36 @@
|
|||
|
||||
#include "../k_menu.h"
|
||||
|
||||
menuitem_t PLAY_MP_OptSelect[] =
|
||||
{
|
||||
//{IT_NOTHING | IT_KEYHANDLER, NULL, NULL, NULL, M_MPOptSelect, 0, 0},
|
||||
{IT_STRING | IT_CALL, "Host Game", "Start your own online game!",
|
||||
NULL, {.routine = M_MPHostInit}, 0, 0},
|
||||
|
||||
{IT_STRING | IT_CALL, "Server Browser", "Search for game servers to play in.",
|
||||
NULL, {.routine = M_MPRoomSelectInit}, 0, 0},
|
||||
#if defined (TESTERS)
|
||||
menuitem_t PLAY_MP_OptSelect[] =
|
||||
{
|
||||
{IT_STRING | IT_CALL, "Join by IP", "Join an online game by its IP address.",
|
||||
NULL, {.routine = M_MPJoinIPInit}, 0, 0},
|
||||
};
|
||||
#else
|
||||
menuitem_t PLAY_MP_OptSelect[] =
|
||||
{
|
||||
//{IT_NOTHING | IT_KEYHANDLER, NULL, NULL, NULL, M_MPOptSelect, 0, 0},
|
||||
{IT_STRING | IT_CALL, "Host Game", "Start your own online game!",
|
||||
NULL, {.routine = M_MPHostInit}, 0, 0},
|
||||
|
||||
{IT_STRING | IT_CALL, "Server Browser", "Search for game servers to play in.",
|
||||
NULL, {.routine = M_MPRoomSelectInit}, 0, 0},
|
||||
|
||||
{IT_STRING | IT_CALL, "Join by IP", "Join an online game by its IP address.",
|
||||
NULL, {.routine = M_MPJoinIPInit}, 0, 0},
|
||||
};
|
||||
#endif
|
||||
|
||||
{IT_STRING | IT_CALL, "Join by IP", "Join an online game by its IP address.",
|
||||
NULL, {.routine = M_MPJoinIPInit}, 0, 0},
|
||||
};
|
||||
|
||||
menu_t PLAY_MP_OptSelectDef = {
|
||||
sizeof (PLAY_MP_OptSelect) / sizeof (menuitem_t),
|
||||
&PLAY_MainDef,
|
||||
#if defined (TESTERS)
|
||||
&PLAY_CharSelectDef,
|
||||
#else
|
||||
&PLAY_MainDef,
|
||||
#endif
|
||||
0,
|
||||
PLAY_MP_OptSelect,
|
||||
0, 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue