From e4149482ec1c1d5424327983df2ebf2419ffe273 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 2 Aug 2007 23:21:52 +0000 Subject: (svn r10759) -Codechange: make the industry struct use the pool item class as super class. --- src/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strings.cpp') diff --git a/src/strings.cpp b/src/strings.cpp index bcd44db09..c10855a0c 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -656,7 +656,7 @@ static char* FormatString(char* buff, const char* str, const int64* argv, uint c int64 args[2]; /* industry not valid anymore? */ - if (!IsValidIndustry(i)) break; + if (!i->IsValid()) break; /* First print the town name and the industry type name * The string STR_INDUSTRY_PATTERN controls the formatting */ -- cgit v1.2.3-54-g00ecf