diff options
author | rubidium <rubidium@openttd.org> | 2007-08-02 23:21:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-02 23:21:52 +0000 |
commit | 2f89fef3536803c999e8068f1433155c7e3a4486 (patch) | |
tree | 492ddfe6412cdabdaaaa435390d2417c774cf096 /src/strings.cpp | |
parent | c60988a1d5d2a140eb5f8ff1b90119ee40ec787e (diff) | |
download | openttd-2f89fef3536803c999e8068f1433155c7e3a4486.tar.xz |
(svn r10759) -Codechange: make the industry struct use the pool item class as super class.
Diffstat (limited to 'src/strings.cpp')
-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 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 */ |