Show all direction markers on radar, instead of one single direction.

This commit is contained in:
Steve 2018-03-08 07:54:20 +00:00
parent cfd90c27c1
commit 8be4f6c773
1 changed files with 8 additions and 4 deletions

View File

@ -128,19 +128,23 @@ static void initBlips(void)
{ {
enableMarker(e->type, M_MIA); enableMarker(e->type, M_MIA);
} }
else if (y > viewRect.y + viewRect.h)
if (y > viewRect.y + viewRect.h)
{ {
enableMarker(e->type, M_MIA + (M_MAX)); enableMarker(e->type, M_MIA + (M_MAX));
} }
else if (x < viewRect.x)
if (x < viewRect.x)
{ {
enableMarker(e->type, M_MIA + (M_MAX * 2)); enableMarker(e->type, M_MIA + (M_MAX * 2));
} }
else if (x > viewRect.x + viewRect.w)
if (x > viewRect.x + viewRect.w)
{ {
enableMarker(e->type, M_MIA + (M_MAX * 3)); enableMarker(e->type, M_MIA + (M_MAX * 3));
} }
else if (i < MAX_BLIPS)
if (i < MAX_BLIPS)
{ {
blips[i++] = e; blips[i++] = e;
} }