Skip to content

Commit c1b77d0

Browse files
committed
ScenarioActivityConfigGUI - change initializers from "= 0" to "{}"
1 parent cff6e9b commit c1b77d0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Source/Menus/ScenarioActivityConfigGUI.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,16 @@ namespace RTE {
6565

6666
GUIControlManager* m_GUIControlManager; //!< The GUIControlManager which holds all the GUIControls of this menu. Not owned by this.
6767

68-
const GameActivity* m_SelectedActivity = nullptr; //!< The Activity this ScenarioActivityConfigGUI is configuring.
69-
const GameActivity* m_PreviouslySelectedActivity = nullptr; //!< The Activity this ScenarioActivityConfigGUI was configuring last, before it got was disabled.
70-
Scene* m_SelectedScene = nullptr; //!< The Scene the selected Activity will be using.
71-
int m_LockedCPUTeam = Activity::Teams::NoTeam; //!< Which team the CPU is locked to, if any.
68+
const GameActivity* m_SelectedActivity {}; //!< The Activity this ScenarioActivityConfigGUI is configuring.
69+
const GameActivity* m_PreviouslySelectedActivity {}; //!< The Activity this ScenarioActivityConfigGUI was configuring last, before it got was disabled.
70+
Scene* m_SelectedScene {}; //!< The Scene the selected Activity will be using.
71+
int m_LockedCPUTeam { Activity::Teams::NoTeam }; //!< Which team the CPU is locked to, if any.
7272

73-
bool m_StartingGoldAdjustedManually = false; //!< Whether the player adjusted the starting gold, meaning it should stop automatically adjusting to the difficulty setting default starting gold where applicable.
73+
bool m_StartingGoldAdjustedManually {}; //!< Whether the player adjusted the starting gold, meaning it should stop automatically adjusting to the difficulty setting default starting gold where applicable.
7474

7575
Timer m_StartGameButtonBlinkTimer; //!< Timer for blinking the start game button.
7676

77-
bool m_TechListFetched = false; //!< Whether the tech list was fetched and each team's ComboBox was populated with it, even if no valid tech modules were added.
77+
bool m_TechListFetched {}; //!< Whether the tech list was fetched and each team's ComboBox was populated with it, even if no valid tech modules were added.
7878

7979
/// GUI elements that compose the Activity setup box.
8080
GUICollectionBox* m_ActivityConfigBox;

0 commit comments

Comments
 (0)