Don't show teleporting or gone entities on the radar.

This commit is contained in:
Steve 2018-02-24 16:00:20 +00:00
parent ef1d634057
commit 997d423103
1 changed files with 19 additions and 16 deletions

View File

@ -321,6 +321,8 @@ static void drawEntities(void)
static int isValidBlip(Entity *e)
{
if (!(e->flags & (EF_GONE | EF_TELEPORTING)))
{
switch (e->type)
{
case ET_BOB:
@ -339,6 +341,7 @@ static int isValidBlip(Entity *e)
default:
return 0;
}
}
return 0;
}