mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-29 23:52:30 +00:00
Replace all gametypes with Thokker on menu
This commit is contained in:
parent
b3127da2e8
commit
8f7a1b3d1d
1 changed files with 6 additions and 0 deletions
|
@ -389,6 +389,7 @@ CV_PossibleValue_t gametype_cons_t[] =
|
|||
{GT_CTF, "CTF"},
|
||||
{0, NULL}
|
||||
};
|
||||
CV_PossibleValue_t gametype_cons_t_thokker[] = {{GT_TEAMMATCH, "Thokker"}};
|
||||
consvar_t cv_newgametype = {"newgametype", "Co-op", CV_HIDEN|CV_CALL, gametype_cons_t, Newgametype_OnChange, 0, NULL, NULL, 0, 0, NULL};
|
||||
|
||||
static CV_PossibleValue_t serversort_cons_t[] = {
|
||||
|
@ -2670,6 +2671,11 @@ void M_Ticker(void)
|
|||
//
|
||||
void M_Init(void)
|
||||
{
|
||||
if (M_CheckParm("-nothokker") == 0) {
|
||||
cv_newgametype.PossibleValue = gametype_cons_t_thokker;
|
||||
cv_newgametype.defaultvalue = "Thokker";
|
||||
}
|
||||
|
||||
CV_RegisterVar(&cv_nextmap);
|
||||
CV_RegisterVar(&cv_newgametype);
|
||||
CV_RegisterVar(&cv_chooseskin);
|
||||
|
|
Loading…
Reference in a new issue