diff options
author | glx <glx@openttd.org> | 2007-10-13 16:56:29 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-10-13 16:56:29 +0000 |
commit | 748d5141cd4fc87fe1ed5dec2478fa51e9f22803 (patch) | |
tree | 9a179c5e801ba942fa2e27790f3be3aaa2800cac /src | |
parent | 385a72febac5cb91894bf34e32455b2ae7c734fc (diff) | |
download | openttd-748d5141cd4fc87fe1ed5dec2478fa51e9f22803.tar.xz |
(svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading
Diffstat (limited to 'src')
-rw-r--r-- | src/oldloader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/oldloader.cpp b/src/oldloader.cpp index 0910200e6..fca06eed9 100644 --- a/src/oldloader.cpp +++ b/src/oldloader.cpp @@ -730,6 +730,7 @@ static bool LoadOldIndustry(LoadgameState *ls, int num) if (i->IsValid()) { i->town = GetTown(REMAP_TOWN_IDX(_old_town_index)); + IncIndustryTypeCount(i->type); } return true; |