diff --git a/source/code/BlockGame.cpp b/source/code/BlockGame.cpp index 59c44eb..767a916 100644 --- a/source/code/BlockGame.cpp +++ b/source/code/BlockGame.cpp @@ -347,23 +347,6 @@ void BlockGame::NewPuzzleGame(int level, unsigned int ticks) { } } -//Play the next level -void BlockGame::nextLevel(unsigned int ticks) { - if (puzzleMode) { - if (Level theGame.GetTopY()+cordNextButton.y)&&(mousey < theGame.GetTopY()+cordNextButton.y+cordNextButton.ysize)) { //Clicked the next button after a stage clear or puzzle - theGame.nextLevel(SDL_GetTicks()); + nextLevel(theGame, SDL_GetTicks()); + } if (stageButtonStatus != SBdontShow && (mousex > theGame.GetTopX()+cordRetryButton .x) &&(mousex < theGame.GetTopX()+cordRetryButton.x+cordRetryButton.xsize)