From 8b3e4d122b4b165d296a296b82bcd36596350ced Mon Sep 17 00:00:00 2001 From: Louis-Antoine Date: Sat, 16 Nov 2019 01:42:02 +0100 Subject: [PATCH] Show player number instead of node when someone joins --- src/d_clisrv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index a35303982..92196219d 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -3225,10 +3225,10 @@ static void Got_AddPlayer(UINT8 **p, INT32 playernum) { const char *address; if (I_GetNodeAddress && (address = I_GetNodeAddress(node)) != NULL) - HU_AddChatText(va("\x82*%s has joined the game (node %d) (%s)", player_names[newplayernum], node, address), false); // merge join notification + IP to avoid clogging console/chat. + HU_AddChatText(va("\x82*%s has joined the game (player %d) (%s)", player_names[newplayernum], newplayernum, address), false); // merge join notification + IP to avoid clogging console/chat. } else - HU_AddChatText(va("\x82*%s has joined the game (node %d)", player_names[newplayernum], node), false); // if you don't wanna see the join address. + HU_AddChatText(va("\x82*%s has joined the game (player %d)", player_names[newplayernum], newplayernum), false); // if you don't wanna see the join address. } if (server && multiplayer && motd[0] != '\0')