Skip to content

Commit

Permalink
Fix radar/minimap size to adapt to lower resolutions better.
Browse files Browse the repository at this point in the history
Fixes ticket:2694
  • Loading branch information
vexed committed Feb 19, 2012
1 parent 60fb815 commit bccb89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/radar.cpp
Expand Up @@ -144,7 +144,7 @@ bool InitRadar(void)
colRadarMe = WZCOL_WHITE;
if (mapWidth < 150) // too small!
{
RadarZoom = DEFAULT_RADARZOOM * 2;
RadarZoom = pie_GetVideoBufferWidth() <= 640 ? 14 : DEFAULT_RADARZOOM * 2;
}
pie_InitRadar();

Expand Down

0 comments on commit bccb89c

Please sign in to comment.