Accept any gamedir that contains a 'fortress' substring for tf-specific rules, instead of only 'fortress' specifically.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5834 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
692fe2c211
commit
11ed815a7f
1 changed files with 1 additions and 1 deletions
|
@ -3312,7 +3312,7 @@ static void CLQW_ParseServerData (void)
|
||||||
|
|
||||||
Cvar_ForceCallback(Cvar_FindVar("r_particlesdesc"));
|
Cvar_ForceCallback(Cvar_FindVar("r_particlesdesc"));
|
||||||
|
|
||||||
cl.teamfortress = !Q_strcasecmp(str, "fortress");
|
cl.teamfortress = !!Q_strcasestr(str, "fortress");
|
||||||
|
|
||||||
if (cl.gamedirchanged)
|
if (cl.gamedirchanged)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue