fix array initialization
Some checks failed
Linux arm64 / Build (push) Failing after 1m53s

This commit is contained in:
2025-06-03 11:55:12 +02:00
parent fd6bdc2b09
commit b1b7277666

View File

@@ -11,14 +11,14 @@
InfoAppMenu::InfoAppMenu(std::shared_ptr<MenuStack> menuStack, std::shared_ptr<Settings> settings, std::shared_ptr<sf::RenderWindow> renderWindow) : InfoAppMenu::InfoAppMenu(std::shared_ptr<MenuStack> menuStack, std::shared_ptr<Settings> settings, std::shared_ptr<sf::RenderWindow> renderWindow) :
AppMenu(menuStack, settings, renderWindow), AppMenu(menuStack, settings, renderWindow),
playerCursor({INFO_SECTIONS_COUNT}), playerCursor({INFO_SECTIONS_COUNT}),
sectionsName( sectionsName({
"< ABOUT >", "< ABOUT >",
"< PIECES TYPES >", "< PIECES TYPES >",
"< 0 DEGREES ROTATIONS >", "< 0 DEGREES ROTATIONS >",
"< ROTATION SYSTEM >", "< ROTATION SYSTEM >",
"< SCORING >" "< SCORING >"
), }),
sectionsContent( sectionsContent({
"This game is written in C++,\n" "This game is written in C++,\n"
"using SFML 3 for the GUI.\n" "using SFML 3 for the GUI.\n"
"It has been inspired by other\n" "It has been inspired by other\n"
@@ -67,7 +67,7 @@ InfoAppMenu::InfoAppMenu(std::shared_ptr<MenuStack> menuStack, std::shared_ptr<S
"A spin is detected when the piece is\n" "A spin is detected when the piece is\n"
"locked in place, a mini-spin simply\n" "locked in place, a mini-spin simply\n"
"when the last move was a kick." "when the last move was a kick."
) { }) {
} }