diff --git a/src/gui/mainmenu.cpp b/src/gui/mainmenu.cpp index bf9b202..78226db 100644 --- a/src/gui/mainmenu.cpp +++ b/src/gui/mainmenu.cpp @@ -6,13 +6,15 @@ MainMenu::MainMenu(sf::RenderWindow& game_window, Callbacks&& callbacks) : _buttons(std::make_shared()), _game_window(game_window) { + const float window_width = game_window.getSize().x; + const float window_height = game_window.getSize().y; + std::shared_ptr