Changeset - r22120:d01a8ad8cb8d
[Not reviewed]
master
0 1 0
frosch - 9 years ago 2015-05-21 18:59:11
frosch@openttd.org
(svn r27291) -Fix (r27278) [FS#6303]: Some savegame data was discarded again during loading.
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/industry_sl.cpp
Show inline comments
 
@@ -160,7 +160,9 @@ static void Save_ITBL()
 
/** Load industry-type build data. */
 
static void Load_ITBL()
 
{
 
	_industry_builder.Reset();
 
	for (IndustryType it = 0; it < NUM_INDUSTRYTYPES; it++) {
 
		_industry_builder.builddata[it].Reset();
 
	}
 
	int index;
 
	while ((index = SlIterateArray()) != -1) {
 
		if ((uint)index >= NUM_INDUSTRYTYPES) SlErrorCorrupt("Too many industry builder datas");
0 comments (0 inline, 0 general)