(svn r2780) Remove some more unused strings and make the use of a few strings more explicit

This commit is contained in:
tron
2005-08-01 13:01:14 +00:00
parent e06d017b91
commit 91353c841f
29 changed files with 11 additions and 240 deletions

View File

@@ -1288,7 +1288,8 @@ static const StringID _bridge_tile_str[(MAX_BRIDGES + 3) + (MAX_BRIDGES + 3)] =
static void GetTileDesc_TunnelBridge(TileIndex tile, TileDesc *td)
{
if ((_m[tile].m5 & 0x80) == 0) {
td->str = STR_5017_RAILROAD_TUNNEL + GB(_m[tile].m5, 2, 2);
td->str =
(GB(_m[tile].m5, 2, 2) == 0) ? STR_5017_RAILROAD_TUNNEL : STR_5018_ROAD_TUNNEL;
} else {
td->str = _bridge_tile_str[GB(_m[tile].m5, 1, 2) << 4 | GB(_m[tile].m2, 4, 4)];