Show more entity location information on the radar.

This commit is contained in:
Steve 2018-02-28 21:59:20 +00:00
parent 7805a128ad
commit 4d086a5136
3 changed files with 6 additions and 6 deletions

View File

@ -458,6 +458,7 @@ typedef struct {
int missionType;
int isBossActive;
int isReturnVisit;
int isEliminateAllEnemies;
int missionCompleteTimer;
int observationTimer;
int gameOverTimer;

View File

@ -24,7 +24,6 @@ static int isMissingHeartCell(char *targetName);
static int countTargetsInWorld(char *targetName);
static int missingHeartCell;
static int isEliminateAllEnemies;
void initObjectives(void)
{
@ -44,7 +43,7 @@ void initObjectives(void)
if (strcmp(o->targetName, "ENEMY") == 0)
{
isEliminateAllEnemies = 1;
world.isEliminateAllEnemies = 1;
}
if (o->totalValue == 0)

View File

@ -334,15 +334,15 @@ static int isValidBlip(Entity *e)
case ET_BOB:
case ET_MIA:
case ET_TEEKA:
return 1;
case ET_ENEMY:
case ET_BOSS:
case ET_HEART_CELL:
case ET_KEY:
case ET_ITEM:
case ET_DESTRUCTABLE:
return e->isMissionTarget;
return 1;
case ET_ENEMY:
return e->isMissionTarget || world.isEliminateAllEnemies;
default:
return 0;