From: Holger Schemel Date: Mon, 29 Oct 2018 19:49:41 +0000 (+0100) Subject: added compatibility check if Sokoban objects need to be solved X-Git-Tag: 4.1.2.0~119 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=10f5a64c95da4ae6a90396be5ec6457f6642aebf;p=rocksndiamonds.git added compatibility check if Sokoban objects need to be solved --- diff --git a/src/files.c b/src/files.c index 58af0597..f6cc1731 100644 --- a/src/files.c +++ b/src/files.c @@ -6330,6 +6330,10 @@ static void LoadLevel_InitVersion(struct LevelInfo *level) if (level->game_version < VERSION_IDENT(4,1,1,1)) level->use_life_bugs = TRUE; + // only Sokoban fields (but not objects) had to be solved before 4.1.1.1 + if (level->game_version < VERSION_IDENT(4,1,1,1)) + level->sb_objects_needed = FALSE; + if (level->game_version < VERSION_IDENT(3,2,0,7)) { // default behaviour for snapping was "not continuous" before 3.2.0-7