diff --git a/src/world/radar.c b/src/world/radar.c index 1846a78..8db2fff 100644 --- a/src/world/radar.c +++ b/src/world/radar.c @@ -328,6 +328,8 @@ static void drawEntities(void) static int isValidBlip(Entity *e) { + Item *i; + if (!(e->flags & (EF_GONE | EF_TELEPORTING))) { switch (e->type) @@ -339,10 +341,13 @@ static int isValidBlip(Entity *e) case ET_HEART: case ET_CELL: case ET_KEY: - case ET_ITEM: case ET_DESTRUCTABLE: return 1; + case ET_ITEM: + i = (Item*)e; + return i->canBeCarried || i->canBePickedUp || i->isMissionTarget; + case ET_ENEMY: return e->isMissionTarget || world.isEliminateAllEnemies;