diff options
author | tron <tron@openttd.org> | 2005-07-31 16:15:37 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-31 16:15:37 +0000 |
commit | 11a70c5e913a636ed5ec20155742c764e36e9add (patch) | |
tree | 82a37a8f35c40cabcd262eafd0c26c70770284d8 /player_gui.c | |
parent | 773dedfd03397c22ccd8436f248aeae9d3d1ea1e (diff) | |
download | openttd-11a70c5e913a636ed5ec20155742c764e36e9add.tar.xz |
(svn r2766) Remove string and make use of the plural feature
Diffstat (limited to 'player_gui.c')
-rw-r--r-- | player_gui.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/player_gui.c b/player_gui.c index b295baad2..650a829c3 100644 --- a/player_gui.c +++ b/player_gui.c @@ -447,25 +447,25 @@ static void DrawPlayerVehiclesAmount(int player) } else { if (train != 0) { SetDParam(0, train); - DrawString(x + 70, y, train==1 ? STR_703A_TRAIN : STR_703B_TRAINS, 0); + DrawString(x + 70, y, STR_TRAINS, 0); y += 10; } if (road != 0) { SetDParam(0, road); - DrawString(x + 70, y, road==1 ? STR_703C_ROAD_VEHICLE : STR_703D_ROAD_VEHICLES, 0); + DrawString(x + 70, y, STR_ROAD_VEHICLES, 0); y += 10; } if (air != 0) { SetDParam(0, air); - DrawString(x + 70, y, air==1 ? STR_703E_AIRCRAFT : STR_703F_AIRCRAFT, 0); + DrawString(x + 70, y, STR_AIRCRAFT, 0); y += 10; } if (ship != 0) { SetDParam(0, ship); - DrawString(x + 70, y, ship==1 ? STR_7040_SHIP : STR_7041_SHIPS, 0); + DrawString(x + 70, y, STR_SHIPS, 0); } } } |