Must _not_ be a challenge mission.

This commit is contained in:
Steve 2016-05-04 17:22:02 +01:00
parent 1e04aea417
commit 7ebfa8020f
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ void awardPostMissionTrophies(void)
/*
* Must be a non-challenge mission, a fighter-type (has guns and missiles), must not be Sol, and must not have fired any shots or missiles
*/
if (game.currentMission->challengeData.isChallenge && player->guns[0].type && player->missiles && strcmp(game.selectedStarSystem, "Sol") && !battle.stats[STAT_SHOTS_FIRED] && !battle.stats[STAT_MISSILES_FIRED])
if (!game.currentMission->challengeData.isChallenge && player->guns[0].type && player->missiles && strcmp(game.selectedStarSystem, "Sol") && !battle.stats[STAT_SHOTS_FIRED] && !battle.stats[STAT_MISSILES_FIRED])
{
awardTrophy("PACIFIST");
}