X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=13f264e8614f3c3a9cde745e95c2de62096dae69;hb=1db2f63d60082eadc1ef59bb872060edb1c7efb6;hp=e159b96ef2183c7d6c73aed8c0f709872fefe5d6;hpb=727d3b5fc7cac6f59652eaa23f1ed9e991ae50bd;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index e159b96e..13f264e8 100644 --- a/src/game.c +++ b/src/game.c @@ -3060,6 +3060,11 @@ static void InitGameEngine() strEqual(setup.engine_snapshot_mode, STR_SNAPSHOT_MODE_EVERY_COLLECT) ? SNAPSHOT_MODE_EVERY_COLLECT : SNAPSHOT_MODE_OFF); game.snapshot.save_snapshot = FALSE; + + /* ---------- initialize level time for Supaplex engine ------------------- */ + /* Supaplex levels with time limit currently unsupported -- should be added */ + if (level.game_engine_type == GAME_ENGINE_TYPE_SP) + level.time = 0; } int get_num_special_action(int element, int action_first, int action_last)