allow spaces in playername
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4586 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -86,7 +86,7 @@ void newname(const char *name)
|
||||
if(name[0])
|
||||
{
|
||||
c2sinit = false;
|
||||
filtertext(player1->name, name, 0, MAXNAMELEN);
|
||||
filtertext(player1->name, name, 1, MAXNAMELEN);
|
||||
if(!player1->name[0]) s_strcpy(player1->name, "unarmed");
|
||||
updateclientname(player1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user