Skip to content

Commit

Permalink
Start the ObjectsControllers with a queuedJumpToHighlightedStatsObject
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed May 21, 2024
1 parent 4b17d7c commit ec5362f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/hci/build.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class BuildController: public BaseObjectsStatsController, public std::enable_sha
void updateBuildOptionsList();
std::vector<STRUCTURE_STATS *> stats;
std::vector<DROID *> builders;
bool queuedJumpToHighlightedStatsObject = false;
bool queuedJumpToHighlightedStatsObject = true;

static bool showFavorites;
static DROID *highlightedBuilder;
Expand Down
2 changes: 1 addition & 1 deletion src/hci/commander.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class CommanderController: public BaseObjectsController, public std::enable_shar
private:
void updateCommandersList();
std::vector<DROID *> commanders;
bool queuedJumpToHighlightedStatsObject = false;
bool queuedJumpToHighlightedStatsObject = true;
static DROID *highlightedCommander;
};

Expand Down
2 changes: 1 addition & 1 deletion src/hci/manufacture.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ManufactureController: public BaseObjectsStatsController, public std::enab
void updateManufactureOptionsList();
std::vector<DROID_TEMPLATE *> stats;
std::vector<STRUCTURE *> factories;
bool queuedJumpToHighlightedStatsObject = false;
bool queuedJumpToHighlightedStatsObject = true;
static STRUCTURE *highlightedFactory;
};

Expand Down
2 changes: 1 addition & 1 deletion src/hci/research.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class ResearchController: public BaseObjectsStatsController, public std::enable_
void updateResearchOptionsList();
std::vector<RESEARCH *> stats;
std::vector<STRUCTURE *> facilities;
bool queuedJumpToHighlightedStatsObject = false;
bool queuedJumpToHighlightedStatsObject = true;
static STRUCTURE *highlightedFacility;
};

Expand Down

0 comments on commit ec5362f

Please sign in to comment.