Skip to content

Commit

Permalink
Only use the larger minimap when the resolution is larger than 480 in…
Browse files Browse the repository at this point in the history
… height.

Refs 5731d0e, closes #2694.
  • Loading branch information
cybersphinx committed May 5, 2011
1 parent 5731d0e commit c201b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/radar.c
Expand Up @@ -126,7 +126,7 @@ BOOL InitRadar(void)
colRadarAlly = WZCOL_YELLOW;
colRadarEnemy = WZCOL_RED;
colRadarMe = WZCOL_WHITE;
if (mapWidth < 150) // too small!
if (mapWidth < 150 && pie_GetVideoBufferHeight() > 480) // too small!
{
RadarZoom = DEFAULT_RADARZOOM * 2;
}
Expand Down

0 comments on commit c201b59

Please sign in to comment.