Changeset - r12139:03c554da6f01
[Not reviewed]
master
0 1 0
smatz - 15 years ago 2009-06-10 22:11:39
smatz@openttd.org
(svn r16560) -Fix (r16559): wrong replacement at one place
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/strings.cpp
Show inline comments
 
@@ -987,13 +987,13 @@ static char *FormatString(char *buff, co
 
			}
 

	
 
			case SCC_COMPANY_NUM: { // {COMPANYNUM}
 
				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);
 
				}
 
				break;
 
			}
0 comments (0 inline, 0 general)