summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhackykid <hackykid@openttd.org>2005-06-21 21:13:10 +0000
committerhackykid <hackykid@openttd.org>2005-06-21 21:13:10 +0000
commit003b4e7f15f0ee86dd9f4296452c1512c8e860df (patch)
tree7c80ca513a960dbfa52520aab9110b62e64634d5
parent5119cce2a83dc163663f548cdcfdaac3e82347fa (diff)
downloadopenttd-003b4e7f15f0ee86dd9f4296452c1512c8e860df.tar.xz
(svn r2470) - Fix: Display station signs correctly in smallest zoom level in transparent buildings or tranparant station signs mode. (Peter1138)
-rw-r--r--lang/english.txt2
-rw-r--r--viewport.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/english.txt b/lang/english.txt
index 2b490c4b7..b97214009 100644
--- a/lang/english.txt
+++ b/lang/english.txt
@@ -1699,7 +1699,7 @@ STR_305AA_LARGE :{BLACK}Metropol
STR_305AB_LARGE :{BLACK}International airport
STR_305B_SIZE :{BLACK}Size
STR_305C_0 :{STATION} {STRINL 0x30D1}
-STR_305D_0 :{TINYFONT}{BLACK}{STATION} {STRINL 0x30D1}
+STR_STATION_SIGN_TINY :{TINYFONT}{STATION} {STRINL 0x30D1}
STR_305E_RAILROAD_STATION :Railway station
STR_305F_AIRCRAFT_HANGAR :Aircraft hangar
STR_3060_AIRPORT :Airport
diff --git a/viewport.c b/viewport.c
index bc2182496..210370122 100644
--- a/viewport.c
+++ b/viewport.c
@@ -896,7 +896,7 @@ static void ViewportAddStationNames(DrawPixelInfo *dpi)
right > st->sign.left &&
left < st->sign.left + st->sign.width_2*4) {
- sstd=AddStringToDraw(st->sign.left + 1, st->sign.top + 1, STR_305D_0, st->index, st->facilities, 0);
+ sstd=AddStringToDraw(st->sign.left + 1, st->sign.top + 1, STR_STATION_SIGN_TINY, st->index, st->facilities, 0);
if (sstd != NULL) {
sstd->color = (st->owner == OWNER_NONE || !st->facilities) ? 0xE : _player_colors[st->owner];
sstd->width = st->sign.width_2 | 0x8000;