So you don't need to use the skins command after changing either enemyskin or teamskin

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@823 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-01-23 17:47:53 +00:00
parent 2d675dd762
commit e23e1a8e1b
1 changed files with 10 additions and 0 deletions

View File

@ -2493,6 +2493,16 @@ static void TP_MsgFilter_f (void)
}
}
void TP_CheckVars(void)
{
if (cl_enemyskin.modified || cl_teamskin.modified)
{
Skin_FlushPlayers();
cl_enemyskin.modified = false;
cl_teamskin.modified = false;
}
}
void TP_Init (void)
{
#define TEAMPLAYVARS "Teamplay Variables"