ref: 68a553ddb3ca81e6df0815860021ea774f6006a7
parent: 3e3342a35a390e1496e8a68b1f297f5111700713
author: James Haley <[email protected]>
date: Thu Oct 23 22:58:42 EDT 2014
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).
--- a/src/strife/hu_stuff.c
+++ b/src/strife/hu_stuff.c
@@ -667,6 +667,10 @@
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