Game Stats: forgot return type on execute function
This commit is contained in:
parent
b2cd7fa1df
commit
2c5c3f5600
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class tgame_stats : public tdialog
|
|||
public:
|
||||
tgame_stats(game_board& board, const int viewing_team, int& selected_index);
|
||||
|
||||
static execute(game_board& board, const int viewing_team, int& selected_index, CVideo& video)
|
||||
static bool execute(game_board& board, const int viewing_team, int& selected_index, CVideo& video)
|
||||
{
|
||||
if(std::all_of(board.teams().begin(), board.teams().end(), [](team& team) { return team.hidden(); })) {
|
||||
show_transient_message(video, "", _("No visible sides found."));
|
||||
|
|
Loading…
Add table
Reference in a new issue