diff --git a/src/battle/fighters.c b/src/battle/fighters.c index 9d4d853..dc03edd 100644 --- a/src/battle/fighters.c +++ b/src/battle/fighters.c @@ -285,7 +285,7 @@ void doFighter(void) if (strcmp(self->name, "Civilian") == 0) { battle.stats[STAT_CIVILIANS_KILLED]++; - if (!battle.isEpic) + if (!battle.isEpic || game.currentMission->challengeData.isChallenge) { addHudMessage(colors.red, _("Civilian has been killed")); } @@ -293,7 +293,7 @@ void doFighter(void) else { battle.stats[STAT_ALLIES_KILLED]++; - if (!battle.isEpic) + if (!battle.isEpic || game.currentMission->challengeData.isChallenge) { addHudMessage(colors.red, _("Ally has been killed")); } diff --git a/src/battle/fighters.h b/src/battle/fighters.h index c6c420b..11c3600 100644 --- a/src/battle/fighters.h +++ b/src/battle/fighters.h @@ -53,3 +53,4 @@ extern Battle battle; extern Colors colors; extern Entity *player; extern Entity *self; +extern Game game;