Changeset - r18563:96e85dda9c20
[Not reviewed]
master
0 1 0
rubidium - 13 years ago 2011-12-04 08:20:01
rubidium@openttd.org
(svn r23418) -Fix [FS#4866] (r22958): saves made with the Catalan town name generator would trigger a "savegame corrupt" exception
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/saveload/town_sl.cpp
Show inline comments
 
@@ -272,7 +272,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)) {
 
		if (t->townnamegrfid == 0 && !IsInsideMM(t->townnametype, SPECSTR_TOWNNAME_START, SPECSTR_TOWNNAME_LAST + 1)) {
 
			SlErrorCorrupt("Invalid town name generator");
 
		}
 

	
0 comments (0 inline, 0 general)