Show all direction markers on radar, instead of one single direction.
This commit is contained in:
parent
cfd90c27c1
commit
8be4f6c773
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue