Skip to content

Commit

Permalink
fix strict compilation (fixes up HEAD^)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Dec 22, 2014
1 parent 5732ed5 commit 3c69e77
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/menu_events.cpp
Expand Up @@ -3323,7 +3323,6 @@ void menu_handler::user_command()
void menu_handler::request_control_change ( int side_num, const std::string& player )
{
std::string side = str_cast(side_num);
int current_side = resources::controller->current_side();
if (teams_[side_num - 1].is_local_human() && player == preferences::login()) {
//this is already our side.
return;
Expand Down
2 changes: 1 addition & 1 deletion src/team.cpp
Expand Up @@ -96,8 +96,8 @@ team::team_info::team_info() :
objectives(),
objectives_changed(false),
controller(),
proxy_controller(team::PROXY_HUMAN),
defeat_condition(team::NO_LEADER),
proxy_controller(team::PROXY_HUMAN),
share_maps(false),
share_view(false),
disallow_observers(false),
Expand Down

0 comments on commit 3c69e77

Please sign in to comment.