diff --git a/src/hu_stuff.c b/src/hu_stuff.c index bdafe4112c397092e2c5e873c9c6a76a752caefe..09622b28c6f387d81811b5fa3e5c4036d0b4db21 100644 --- a/src/hu_stuff.c +++ b/src/hu_stuff.c @@ -1565,7 +1565,6 @@ static void HU_DrawChat(void) INT32 cflag = 0; const char *ntalk = "Say: ", *ttalk = "Team: "; const char *talk = ntalk; - const char *mute = "Chat has been muted."; #ifdef NETSPLITSCREEN if (splitscreen) @@ -1592,7 +1591,10 @@ static void HU_DrawChat(void) if (CHAT_MUTE) { - talk = mute; + if (cv_mute.value) + talk = "Chat has been muted."; + else + talk = "You have been muted."; typelines = 1; cflag = V_GRAYMAP; // set text in gray if chat is muted. } diff --git a/src/netcode/d_netcmd.c b/src/netcode/d_netcmd.c index a07620b1c1cb08dbcec1a7dab93324b1a04f2655..79ce7e47c871baf7dfbdc7824dffaf56968f64ba 100644 --- a/src/netcode/d_netcmd.c +++ b/src/netcode/d_netcmd.c @@ -2557,11 +2557,17 @@ static void Got_MutePlayer(UINT8 **cp, INT32 playernum) if (!players[player].muted && muted) { - CONS_Printf(M_GetText("%s has been muted.\n"), player_names[player]); + if (player == consoleplayer) + CONS_Printf(M_GetText("You has been muted.\n")); + else + CONS_Printf(M_GetText("%s has been muted.\n"), player_names[player]); } else if (players[player].muted && !muted) { - CONS_Printf(M_GetText("%s is no longer muted.\n"), player_names[player]); + if (player == consoleplayer) + CONS_Printf(M_GetText("You are no longer muted.\n")); + else + CONS_Printf(M_GetText("%s is no longer muted.\n"), player_names[player]); } players[player].muted = muted;