diff options
| author | fschildt <florian.schildt@protonmail.com> | 2025-09-28 11:23:04 +0200 |
|---|---|---|
| committer | fschildt <florian.schildt@protonmail.com> | 2025-09-28 11:23:04 +0200 |
| commit | 4537e9bee3d054786857fa92824e2d9e8385bb36 (patch) | |
| tree | 92ee1fea597f8164d09885286b71d812f6890259 /src/main.cpp | |
| parent | 3d30e1ee9d1c9fb67cca8e3f178ba5fd05a2726e (diff) | |
minesweeper: now playable
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0cf89d7..91192b4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -154,7 +154,7 @@ main(int argc, char **argv) if (game) { - bool keep_game_running = game->Update(game_events, render_group); + bool keep_game_running = game->Update(game_events); if (!keep_game_running) { game.reset(); } @@ -162,7 +162,7 @@ main(int argc, char **argv) else { Game::GameType type = do_menu(render_group); if (type != Game::NO_GAME) { - game = Game::Select(type); + game = Game::Select(type, render_group); } } game_events.clear(); |
