Codechange: Remove various STRING strings.

This commit is contained in:
Peter Nelson
2023-04-25 10:03:48 +01:00
committed by PeterN
parent 4767641c8c
commit 0880616851
21 changed files with 78 additions and 93 deletions

View File

@@ -209,11 +209,10 @@ static void TrainDetailsCargoTab(const CargoSummaryItem *item, int left, int rig
SetDParam(3, _settings_game.vehicle.freight_trains);
str = FreightWagonMult(item->cargo) > 1 ? STR_VEHICLE_DETAILS_CARGO_FROM_MULT : STR_VEHICLE_DETAILS_CARGO_FROM;
} else {
SetDParam(0, STR_QUANTITY_N_A);
str = item->cargo == INVALID_CARGO ? STR_LTBLUE_STRING : STR_VEHICLE_DETAILS_CARGO_EMPTY;
str = item->cargo == INVALID_CARGO ? STR_QUANTITY_N_A : STR_VEHICLE_DETAILS_CARGO_EMPTY;
}
DrawString(left, right, y, str);
DrawString(left, right, y, str, TC_LIGHT_BLUE);
}
/**