Draw the minimap villages at the same size as the terrain tiles.

This commit is contained in:
fendrin 2013-12-08 16:57:38 +01:00
parent 102bcd7101
commit 8957ae44f0

View File

@ -217,10 +217,10 @@ surface getMinimap(int w, int h, const gamemap &map, const team *vw, const std::
}
SDL_Rect fillrect = create_rect(
maprect.x +2
, maprect.y +2
, scale -4
, scale -4
maprect.x
, maprect.y
, scale * 3/4
, scale
);
const Uint32 mapped_col = SDL_MapRGB(minimap->format,col.r,col.g,col.b);