1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-26 16:09:10 +00:00

(svn r10759) -Codechange: make the industry struct use the pool item class as super class.

This commit is contained in:
rubidium
2007-08-02 23:21:52 +00:00
parent 549450d31a
commit e4149482ec
6 changed files with 43 additions and 84 deletions

View File

@@ -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 */