mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-11 07:42:15 +00:00
Disabled all gametypes except FFA and TP
This commit is contained in:
parent
8defdf11e0
commit
5e61276cfb
1 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.65 2002/06/07 13:06:34 jbravo
|
||||
// Disabled all gametypes except FFA and TP
|
||||
//
|
||||
// Revision 1.64 2002/06/07 03:03:02 jbravo
|
||||
// More colorfixes
|
||||
//
|
||||
|
@ -616,6 +619,11 @@ void G_RegisterCvars( void ) {
|
|||
G_Printf( "g_gametype %i is out of range, defaulting to 0\n", g_gametype.integer );
|
||||
trap_Cvar_Set( "g_gametype", "0" );
|
||||
}
|
||||
// JBravo: lets disable the untested modes.
|
||||
if (g_gametype.integer != GT_FFA && g_gametype.integer != GT_TEAMPLAY) {
|
||||
G_Printf ("g_gametype %i is currently not supported by ReactionQuake3. Defaulting to 0\n", g_gametype.integer);
|
||||
trap_Cvar_Set ("g_gametype", "0");
|
||||
}
|
||||
|
||||
level.warmupModificationCount = g_warmup.modificationCount;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue