X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ffiles.c;h=605efc27af482bb4df72607829ea65fb6dcc2165;hb=050269ccfc40b94a2255939df38831d2c75340d3;hp=99713e19a4c4b19509a52e1ee029294dfca51fc4;hpb=0eec2fba66b847051c4ad7990d8be75c114e1be7;p=rocksndiamonds.git diff --git a/src/files.c b/src/files.c index 99713e19..605efc27 100644 --- a/src/files.c +++ b/src/files.c @@ -668,6 +668,11 @@ static struct LevelFileConfigInfo chunk_config_ELEM[] = TYPE_INTEGER, CONF_VALUE_8_BIT(4), &li.game_of_life[3], 3 }, + { + EL_GAME_OF_LIFE, -1, + TYPE_BOOLEAN, CONF_VALUE_8_BIT(5), + &li.use_life_bugs, FALSE + }, { EL_BIOMAZE, -1, @@ -6309,6 +6314,10 @@ static void LoadLevel_InitVersion(struct LevelInfo *level) level->extra_time_score = level->score[SC_TIME_BONUS]; } + /* game logic of "game of life" and "biomaze" was buggy before 4.1.1.1 */ + if (level->game_version < VERSION_IDENT(4,1,1,1)) + level->use_life_bugs = TRUE; + if (level->game_version < VERSION_IDENT(3,2,0,7)) { /* default behaviour for snapping was "not continuous" before 3.2.0-7 */