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 | d47e51c246fda12c29596598d7d7f8a030fc8b63 (patch) | |
tree | 9a179c5e801ba942fa2e27790f3be3aaa2800cac | |
parent | 9e3d19e392e1dbf04616ec4ed2dc14f57c73db5c (diff) | |
download | openttd-d47e51c246fda12c29596598d7d7f8a030fc8b63.tar.xz |
(svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading
-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; |