Skip to content

Commit c201b59

Browse files
committed
Only use the larger minimap when the resolution is larger than 480 in height.
Refs 5731d0e, closes #2694.
1 parent 5731d0e commit c201b59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/radar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ BOOL InitRadar(void)
126126
colRadarAlly = WZCOL_YELLOW;
127127
colRadarEnemy = WZCOL_RED;
128128
colRadarMe = WZCOL_WHITE;
129-
if (mapWidth < 150) // too small!
129+
if (mapWidth < 150 && pie_GetVideoBufferHeight() > 480) // too small!
130130
{
131131
RadarZoom = DEFAULT_RADARZOOM * 2;
132132
}

0 commit comments

Comments
 (0)