more filtertext whitespace options

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2904 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-10-10 23:14:49 +00:00
parent 4dc6fcff3e
commit 86e14cc9fe
7 changed files with 15 additions and 24 deletions
+2 -2
View File
@@ -75,7 +75,7 @@ void newname(const char *name)
if(name[0])
{
c2sinit = false;
filtertext(player1->name, name, false, MAXNAMELEN);
filtertext(player1->name, name, 0, MAXNAMELEN);
if(!player1->name[0]) s_strcpy(player1->name, "unarmed");
}
else conoutf("your name is: %s", player1->name);
@@ -95,7 +95,7 @@ void changeteam(int team, bool respawn) // force team and respawn
{
c2sinit = false;
if(m_flags) tryflagdrop(false);
filtertext(player1->team, team_string(team), false, MAXTEAMLEN);
filtertext(player1->team, team_string(team), 0, MAXTEAMLEN);
if(respawn)
{
addmsg(SV_CHANGETEAM, "r");