(svn r11507) -Fix [FS#1463]: signs totally illegible when transparant signs is turned on and zoomed out more than one level.

This commit is contained in:
rubidium
2007-11-24 09:27:20 +00:00
parent 9a70ec1cb2
commit 221e9271c5
2 changed files with 2 additions and 1 deletions

View File

@@ -1251,7 +1251,7 @@ static void ViewportAddSigns(DrawPixelInfo *dpi)
top < si->sign.top + ScaleByZoom(12, dpi->zoom) &&
right > si->sign.left &&
left < si->sign.left + ScaleByZoom(si->sign.width_2, dpi->zoom)) {
AddSign(si, STR_2002, si->sign.width_2 | 0x8000);
AddSign(si, IsTransparencySet(TO_SIGNS) ? STR_2002_WHITE : STR_2002, si->sign.width_2 | 0x8000);
}
}
break;