Don't show teleporting or gone entities on the radar.
This commit is contained in:
parent
ef1d634057
commit
997d423103
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue