mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-27 06:22:27 +00:00
Gawd damn buglet
This commit is contained in:
parent
81d662f02c
commit
78619394fc
1 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// $Log$
|
||||
// Revision 1.146 2002/06/28 21:41:12 jbravo
|
||||
// Gawd damn buglet
|
||||
//
|
||||
// Revision 1.145 2002/06/24 05:51:51 jbravo
|
||||
// CTF mode is now semi working
|
||||
//
|
||||
|
@ -1905,7 +1908,7 @@ void Cmd_CallVote_f(gentity_t * ent)
|
|||
// special case for g_gametype, check for bad values
|
||||
if (!Q_stricmp(arg1, "g_gametype")) {
|
||||
i = atoi(arg2);
|
||||
if (i != GT_FFA && i != GT_TEAMPLAY || i != GT_CTF) {
|
||||
if (i != GT_FFA && i != GT_TEAMPLAY && i != GT_CTF) {
|
||||
trap_SendServerCommand(ent - g_entities, "print \"Invalid gametype. Valid gametypes are 0, 4 and 5.\n\"");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue