mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- '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'
This commit is contained in:
parent
8311a18282
commit
04db494310
1 changed files with 2 additions and 1 deletions
|
@ -326,7 +326,8 @@ void cht_DoCheat (player_t *player, int cheat)
|
||||||
int killcount = P_Massacre (cheat == CHT_MASSACRE2);
|
int killcount = P_Massacre (cheat == CHT_MASSACRE2);
|
||||||
// killough 3/22/98: make more intelligent about plural
|
// killough 3/22/98: make more intelligent about plural
|
||||||
// Ty 03/27/98 - string(s) *not* externalized
|
// 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;
|
msg = msgbuild;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue