Changeset - r18799:e0126967a515
[Not reviewed]
master
0 1 0
yexo - 13 years ago 2011-12-22 17:07:54
yexo@openttd.org
(svn r23657) -Fix (r22958): loading of very old savegames with custom town names failed
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/town_sl.cpp
Show inline comments
 
@@ -274,7 +274,7 @@ static void Load_TOWN()
 
			SlObject(&t->received[i], _town_received_desc);
 
		}
 

	
 
		if (t->townnamegrfid == 0 && !IsInsideMM(t->townnametype, SPECSTR_TOWNNAME_START, SPECSTR_TOWNNAME_LAST + 1)) {
 
		if (t->townnamegrfid == 0 && !IsInsideMM(t->townnametype, SPECSTR_TOWNNAME_START, SPECSTR_TOWNNAME_LAST + 1) && GB(t->townnametype, 11, 5) != 15) {
 
			SlErrorCorrupt("Invalid town name generator");
 
		}
 

	
0 comments (0 inline, 0 general)