From dcbb784f16a9f2e64574e2787bcdab57c49f5ec9 Mon Sep 17 00:00:00 2001 From: Frederik <frederik@prasch.de> Date: Mon, 10 Feb 2025 00:25:05 +0100 Subject: [PATCH] fix typo from last commit --- src/game/ui/context/RecruitingMenu.hpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/game/ui/context/RecruitingMenu.hpp b/src/game/ui/context/RecruitingMenu.hpp index 9d47a58..2c8dba2 100644 --- a/src/game/ui/context/RecruitingMenu.hpp +++ b/src/game/ui/context/RecruitingMenu.hpp @@ -55,13 +55,14 @@ class RecruitingMenu : public Scene void render(Engine& engine) override; private: - size_t m_selectedOption; // Currently selected option - std::vector<UnitTypeId> m_options; // All available options - int m_x; // x-position - int m_y; // y-position - const std::unordered_map<UnitTypeId, std::string> unitNames; // maps UnitIds to unnits name - std::unordered_map<int, UnitTypeId> cost2UnitId; // maps cost to unitIds - UnitTypeId m_selectedId; // Currently selected Unit + size_t m_selectedOption; // Currently selected option + std::vector<UnitTypeId> m_options; // All available options + int m_x; // x-position + int m_y; // y-position + const std::unordered_map<UnitTypeId, std::string> + m_unitNames; // maps UnitIds to unnits name + std::unordered_map<int, UnitTypeId> m_cost2UnitId; // maps cost to unitIds + UnitTypeId m_selectedId; // Currently selected Unit void selectSprite(); }; -- GitLab