From 04db49431081f51ef6b9bb101d4c295e0b1da6e9 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sat, 22 Jul 2017 07:25:58 -0400 Subject: [PATCH] - 'kill baddies' cheat now describes what it is killing. This is mostly for multiplayer purposes when other players see the feedback when the cheat is used, allowing players to see if it was 'kill monsters' or 'kill baddies' --- src/m_cheat.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/m_cheat.cpp b/src/m_cheat.cpp index aa7038fb1..ffba7a806 100644 --- a/src/m_cheat.cpp +++ b/src/m_cheat.cpp @@ -326,7 +326,8 @@ void cht_DoCheat (player_t *player, int cheat) int killcount = P_Massacre (cheat == CHT_MASSACRE2); // killough 3/22/98: make more intelligent about plural // Ty 03/27/98 - string(s) *not* externalized - mysnprintf (msgbuild, countof(msgbuild), "%d Monster%s Killed", killcount, killcount==1 ? "" : "s"); + mysnprintf (msgbuild, countof(msgbuild), "%d %s%s Killed", killcount, + cheat==CHT_MASSACRE2 ? "Baddie" : "Monster", killcount==1 ? "" : "s"); msg = msgbuild; } break;