fix oopsie that broke name change
This commit is contained in:
1 parent
f73657aa79
commit
6000bb952a
1 file changed
+1
-1
+1
-1
@@ -1381,7 +1381,7 @@ static void SetPlayerName(INT32 playernum, char *newname)
|
||||
{
|
||||
if (EnsurePlayerNameIsGood(newname, playernum))
|
||||
{
|
||||
if (fasticmp(newname, player_names[playernum]))
|
||||
if (!fasticmp(newname, player_names[playernum]))
|
||||
{
|
||||
if (netgame)
|
||||
HU_AddChatText(va("\x82*%s renamed to %s", player_names[playernum], newname), false);
|
||||
|
||||
Reference in new issue
Block a user