From 503e7350fa3d8065e2f4814181664382154dc702 Mon Sep 17 00:00:00 2001 From: scratko Date: Mon, 18 Nov 2024 18:01:32 +0300 Subject: Random image selection Added a dialog box about. Checks if the selected file is correct. --- gameplay.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'gameplay.cpp') diff --git a/gameplay.cpp b/gameplay.cpp index 0c6a1ab..d6bf59f 100644 --- a/gameplay.cpp +++ b/gameplay.cpp @@ -62,6 +62,7 @@ void press_button_callback(Fl_Widget *w, void *params) void PuzzleGame::StartGame(GameParams *gp) { + gp->SelectRandomPicture(); gp->ResetFreePuzzles(); gp->CreateNewPuzzles(); gp->win->redraw(); -- cgit v1.2.3