(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:
@@ -178,7 +178,7 @@ static bool LoadObjects()
|
||||
case SQSL_ARRAY_TABLE_END:
|
||||
return false;
|
||||
|
||||
default: NOT_REACHED();
|
||||
default: SlErrorCorrupt("Invalid AI data type");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user