Further tweaks to target outline.

This commit is contained in:
Steve 2015-11-22 17:49:38 +00:00
parent e77379923a
commit 6f52dc9783
1 changed files with 4 additions and 4 deletions

View File

@ -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);