(svn r16163) -Codechange: instead of SetDParamStr(0, string); DrawString(..., STR_JUST_RAW_STRING, ...) use DrawString(..., string, ...).

This commit is contained in:
rubidium
2009-04-26 15:42:45 +00:00
parent 3bd4eeb178
commit 156d45505d
4 changed files with 7 additions and 16 deletions

View File

@@ -72,8 +72,7 @@ void DrawRoadVehDetails(const Vehicle *v, int left, int right, int y)
}
}
SetDParamStr(0, capacity);
DrawString(left, right, y + 10 + y_offset, STR_JUST_RAW_STRING, TC_BLUE);
DrawString(left, right, y + 10 + y_offset, capacity, TC_BLUE);
for (const Vehicle *u = v; u != NULL; u = u->Next()) {
if (u->cargo_cap == 0) continue;