From c756fdd6da52cb35c79cb3036617caca3926e7f0 Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 10 Jun 2009 22:11:39 +0000 Subject: [PATCH] (svn r16560) -Fix (r16559): wrong replacement at one place --- src/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strings.cpp b/src/strings.cpp index 880137b9f6..861efedf25 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -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);