(svn r20819) -Fix [FS#3714]: be a bit more "lenient" w.r.t. invalid savegames; don't crash on saveload related NOT_REACHEDs, just show the user an error that the savegame is corrupted

This commit is contained in:
rubidium
2010-09-16 22:06:36 +00:00
parent 5b733f88a8
commit 97dbb1f27d
6 changed files with 46 additions and 32 deletions

View File

@@ -178,7 +178,7 @@ static bool LoadObjects()
case SQSL_ARRAY_TABLE_END:
return false;
default: NOT_REACHED();
default: SlErrorCorrupt("Invalid AI data type");
}
}