X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fmain_bd.c;h=68f0ec400e8ff37e54d7066c7475cec45d3c5f6c;hb=01bf4018243f57cefbc0308e49f4dd2d40a0c054;hp=933505233746c064d3e445d5290acadece34b594;hpb=80b6b64c0075c2dbfaa64245763f98ca15709bcb;p=rocksndiamonds.git diff --git a/src/game_bd/main_bd.c b/src/game_bd/main_bd.c index 93350523..68f0ec40 100644 --- a/src/game_bd/main_bd.c +++ b/src/game_bd/main_bd.c @@ -137,7 +137,7 @@ boolean LoadNativeLevel_BD(char *filename, int level_pos, boolean level_info_onl // check if this cave has any replays if (native_bd_level.cave->replays != NULL) { - GList *item = native_bd_level.cave->replays; + List *item = native_bd_level.cave->replays; // try to find replay that was recorded for this difficulty level while (item != NULL && @@ -269,6 +269,10 @@ void InitGameEngine_BD(void) game_bd.game = gd_game_new(native_bd_level.cave_nr, native_bd_level.level_nr); + game_bd.game->itercycle = 0; + game_bd.game->itermax = 8; // default; dynamically changed at runtime + game_bd.game->itermax_last = game_bd.game->itermax; + // default: start with completely covered playfield int next_state = GAME_INT_START_UNCOVER + 1;