(svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details window.

This commit is contained in:
michi_cc
2009-02-14 18:42:03 +00:00
parent b123756c9f
commit 84deeecc5b
56 changed files with 292 additions and 270 deletions

View File

@@ -37,6 +37,7 @@ void DrawAircraftDetails(const Vehicle *v, int x, int y)
SetDParam(1, u->cargo_cap);
SetDParam(2, u->Next()->cargo_type);
SetDParam(3, u->Next()->cargo_cap);
SetDParam(4, GetCargoSubtypeText(u));
DrawString(x, y + 10, (u->Next()->cargo_cap != 0) ? STR_A019_CAPACITY : STR_A01A_CAPACITY, TC_FROMSTRING);
}