From 68a553ddb3ca81e6df0815860021ea774f6006a7 Mon Sep 17 00:00:00 2001 From: James Haley Date: Fri, 24 Oct 2014 02:58:42 -0500 Subject: Fix 4: Changing player name on local client Totally left out one of the two sprintf calls found in HU_Responder which is responsible for setting the player's name on the consoleplayer node (other nodes receive it through the chat system). --- src/strife/hu_stuff.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/strife/hu_stuff.c b/src/strife/hu_stuff.c index f3fb0c64..17e27a6e 100644 --- a/src/strife/hu_stuff.c +++ b/src/strife/hu_stuff.c @@ -667,6 +667,10 @@ boolean HU_Responder(event_t *ev) DEH_snprintf(lastmessage, sizeof(lastmessage), "%s now %.13s", player_names[consoleplayer], w_chat.l.l); + // haleyjd 20141024: missing name set for local client + DEH_snprintf(player_names[consoleplayer], + sizeof(player_names[consoleplayer]), + "%.13s: ", w_chat.l.l); hu_setting_name = false; } else -- cgit v1.2.3