mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r16560) -Fix (r16559): wrong replacement at one place
This commit is contained in:
parent
bea3fe2b8b
commit
c756fdd6da
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user