aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
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();