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:
Spoike 2021-05-09 13:00:37 +00:00
parent 692fe2c211
commit 11ed815a7f
1 changed files with 1 additions and 1 deletions

View File

@ -3312,7 +3312,7 @@ static void CLQW_ParseServerData (void)
Cvar_ForceCallback(Cvar_FindVar("r_particlesdesc"));
cl.teamfortress = !Q_strcasecmp(str, "fortress");
cl.teamfortress = !!Q_strcasestr(str, "fortress");
if (cl.gamedirchanged)
{