diff options
author | smatz <smatz@openttd.org> | 2009-06-10 22:11:39 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-10 22:11:39 +0000 |
commit | c756fdd6da52cb35c79cb3036617caca3926e7f0 (patch) | |
tree | 50ddc22fadf7cb95cd9391ede10b9a73b78890c6 /src | |
parent | bea3fe2b8b2352d471149a4c914f93c58aa11b83 (diff) | |
download | openttd-c756fdd6da52cb35c79cb3036617caca3926e7f0.tar.xz |
(svn r16560) -Fix (r16559): wrong replacement at one place
Diffstat (limited to 'src')
-rw-r--r-- | src/strings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index 880137b9f..861efedf2 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); |