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/oldloader_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/oldloader_sl.cpp')
-rw-r--r-- | src/saveload/oldloader_sl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/oldloader_sl.cpp b/src/saveload/oldloader_sl.cpp index e6dc18660..68c3daf7a 100644 --- a/src/saveload/oldloader_sl.cpp +++ b/src/saveload/oldloader_sl.cpp @@ -841,7 +841,7 @@ static bool LoadOldIndustry(LoadgameState *ls, int num) i->random_colour = RemapTTOColour(i->random_colour); } - IncIndustryTypeCount(i->type); + Industry::IncIndustryTypeCount(i->type); } else { delete i; } |