Further tweaks to target outline.
This commit is contained in:
parent
e77379923a
commit
6f52dc9783
|
@ -270,10 +270,10 @@ static void drawTargetRects(Entity *e)
|
|||
|
||||
if ((e == battle.missionTarget || e->flags & EF_MISSION_TARGET) && (e->flags & EF_NO_MT_BOX) == 0)
|
||||
{
|
||||
r.x = e->x - (size / 2) - battle.camera.x - 2;
|
||||
r.y = e->y - (size / 2) - battle.camera.y - 2;
|
||||
r.w = size + 4;
|
||||
r.h = size + 4;
|
||||
r.x = e->x - (size / 2) - battle.camera.x - 4;
|
||||
r.y = e->y - (size / 2) - battle.camera.y - 4;
|
||||
r.w = size + 8;
|
||||
r.h = size + 8;
|
||||
|
||||
SDL_SetRenderDrawColor(app.renderer, 0, 255, 0, 255);
|
||||
SDL_RenderDrawRect(app.renderer, &r);
|
||||
|
|
Loading…
Reference in New Issue