diff options
author | frosch <frosch@openttd.org> | 2010-03-20 14:30:16 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-03-20 14:30:16 +0000 |
commit | 116a5f56a4c1362446bcf921e4436a19057d105e (patch) | |
tree | eeb12e8765bc1997310546c701043efd81c9b410 /src/saveload/industry_sl.cpp | |
parent | e27e5febb60f1cd2a2c70b100652c9365d97dbbd (diff) | |
download | openttd-116a5f56a4c1362446bcf921e4436a19057d105e.tar.xz |
(svn r19481) -Codechange: Turn _industry_counts into a static member of Industry.
Diffstat (limited to 'src/saveload/industry_sl.cpp')
-rw-r--r-- | src/saveload/industry_sl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/industry_sl.cpp b/src/saveload/industry_sl.cpp index 9b4dd2b3d..42c8fda32 100644 --- a/src/saveload/industry_sl.cpp +++ b/src/saveload/industry_sl.cpp @@ -107,12 +107,12 @@ static void Load_INDY() { int index; - ResetIndustryCounts(); + Industry::ResetIndustryCounts(); while ((index = SlIterateArray()) != -1) { Industry *i = new (index) Industry(); SlObject(i, _industry_desc); - IncIndustryTypeCount(i->type); + Industry::IncIndustryTypeCount(i->type); } } |