Must be using a Common Fighter to unlock the PACIFIST trophy.

This commit is contained in:
Steve 2016-05-30 11:59:11 +01:00
parent 07e36dd83a
commit 3192e3153b
1 changed files with 2 additions and 2 deletions

View File

@ -482,9 +482,9 @@ 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
* Must be a non-challenge mission, a common fighter, 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->flags & EF_COMMON_FIGHTER && player->missiles && strcmp(game.selectedStarSystem, "Sol") && !battle.stats[STAT_SHOTS_FIRED] && !battle.stats[STAT_MISSILES_FIRED])
{
awardTrophy("PACIFIST");
}