Skip to content

Commit

Permalink
- 'kill baddies' cheat now describes what it is killing. This is most…
Browse files Browse the repository at this point in the history
…ly 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'
  • Loading branch information
madame-rachelle committed Jul 22, 2017
1 parent 8311a18 commit 04db494
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/m_cheat.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 04db494

Please sign in to comment.