# HG changeset patch # User smatz # Date 2009-06-10 22:11:39 # Node ID 03c554da6f010fd5eb427c7ac9c2e9ca85256ff9 # Parent e93d2e409e78e12bd301ab8a5cec61b6bcc4fbb7 (svn r16560) -Fix (r16559): wrong replacement at one place diff --git a/src/strings.cpp b/src/strings.cpp --- a/src/strings.cpp +++ b/src/strings.cpp @@ -990,7 +990,7 @@ static char *FormatString(char *buff, co 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);