From 29eb5ef4fac8fda74359241f291449d8c0b706db Mon Sep 17 00:00:00 2001 From: flowtron Date: Wed, 22 Jul 2009 18:24:31 +0000 Subject: [PATCH] allow spaces in playername git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4586 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clientgame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index a6d4fb92..889d7a8a 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -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); }