(svn r18078) -Codechange: remove some duplicate (non translatable) strings

This commit is contained in:
rubidium
2009-11-14 15:37:33 +00:00
parent 668a98909b
commit 16c2e53191
56 changed files with 6 additions and 153 deletions

View File

@@ -749,9 +749,7 @@ static char *FormatString(char *buff, const char *str, int64 *argv, uint casei,
}
case SCC_CARGO: { // {CARGO}
/* Layout now is:
* 8bit - cargo type
* 16-bit - cargo count */
/* First parameter is cargo type, second parameter is cargo count */
CargoID cargo = GetInt32(&argv);
StringID cargo_str = (cargo == CT_INVALID) ? STR_QUANTITY_N_A : CargoSpec::Get(cargo)->quantifier;
buff = GetStringWithArgs(buff, cargo_str, argv++, last);