diff options
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/industry_sl.cpp | 4 | ||||
-rw-r--r-- | src/saveload/oldloader_sl.cpp | 2 |
2 files changed, 3 insertions, 3 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); } } 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; } |