(svn r15808) -Codechange: use the new DrawString API in a number of GUIs

This commit is contained in:
rubidium
2009-03-22 12:01:21 +00:00
parent dfe5dad5f6
commit 57174a9301
11 changed files with 51 additions and 52 deletions

View File

@@ -243,7 +243,7 @@ public:
if (_settings_game.economy.station_noise_level) {
/* show the noise of the selected airport */
SetDParam(0, airport->noise_level);
DrawString(2, 206, STR_STATION_NOISE, TC_FROMSTRING);
DrawString(2, this->width - 2, 206, STR_STATION_NOISE, TC_FROMSTRING);
y_noise_offset = 10;
}