diff options
Diffstat (limited to 'rail_cmd.c')
-rw-r--r-- | rail_cmd.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index 796ba88fd..67497dfbf 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -2153,14 +2153,16 @@ static void GetTileDesc_Track(TileIndex tile, TileDesc *td) break; case RAIL_TYPE_SIGNALS: { - const StringID signal_type[] = { + const StringID signal_type[7] = { STR_RAILROAD_TRACK_WITH_NORMAL_SIGNALS, STR_RAILROAD_TRACK_WITH_PRESIGNALS, STR_RAILROAD_TRACK_WITH_EXITSIGNALS, - STR_RAILROAD_TRACK_WITH_COMBOSIGNALS + STR_RAILROAD_TRACK_WITH_COMBOSIGNALS, + STR_RAILROAD_TRACK_WITH_PBSSIGNALS, + STR_NULL, STR_NULL }; - td->str = signal_type[_map3_hi[tile] & 0x03]; + td->str = signal_type[_map3_hi[tile] & 0x7]; break; } |