From: Holger Schemel Date: Sat, 27 Aug 2022 09:02:14 +0000 (+0200) Subject: added ignoring remaining level chunks after chunks with wrong size X-Git-Tag: 4.3.3.0~69 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=5970fe6a48b295b98d5d6b542480a2322747510e;p=rocksndiamonds.git added ignoring remaining level chunks after chunks with wrong size --- diff --git a/src/files.c b/src/files.c index e86364db..6839934a 100644 --- a/src/files.c +++ b/src/files.c @@ -3606,6 +3606,8 @@ static void LoadLevelFromFileInfo_RND(struct LevelInfo *level, { Warn("wrong size (%d) of chunk '%s' in level file '%s'", chunk_size, chunk_name, filename); + + break; } } }