(svn r16560) -Fix (r16559): wrong replacement at one place

This commit is contained in:
smatz 2009-06-10 22:11:39 +00:00
parent bea3fe2b8b
commit c756fdd6da
1 changed files with 1 additions and 1 deletions

View File

@ -990,7 +990,7 @@ static char *FormatString(char *buff, const char *str, int64 *argv, uint casei,
CompanyID company = (CompanyID)GetInt32(&argv);
/* Nothing is added for AI or inactive companies */
if (!Company::IsValidHumanID(company)) {
if (Company::IsValidHumanID(company)) {
int64 args[1];
args[0] = company + 1;
buff = GetStringWithArgs(buff, STR_COMPANY_NUM, args, last);