Show mines on radar as white.
This commit is contained in:
parent
994c0b55dd
commit
e2172a1789
|
@ -88,6 +88,11 @@ void drawRadar(void)
|
|||
SDL_SetRenderDrawColor(app.renderer, 255, 255, 255, 255);
|
||||
}
|
||||
|
||||
if (e->type == ET_MINE)
|
||||
{
|
||||
SDL_SetRenderDrawColor(app.renderer, 255, 255, 255, 255);
|
||||
}
|
||||
|
||||
SDL_RenderFillRect(app.renderer, &r);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue