- removed all remaining references to level and TThinkerIterator from p_enemy.cpp.

This commit is contained in:
Christoph Oelckers 2019-01-27 14:49:51 +01:00
commit 2ed2202caa
5 changed files with 25 additions and 29 deletions

View file

@ -319,7 +319,7 @@ void cht_DoCheat (player_t *player, int cheat)
case CHT_MASSACRE:
case CHT_MASSACRE2:
{
int killcount = P_Massacre (cheat == CHT_MASSACRE2);
int killcount = currentUILevel->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 %s%s Killed", killcount,