Skip to content

Commit

Permalink
Attempt to fix gcc compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Apr 3, 2016
1 parent 1cc86a1 commit bc84ecf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/game_initialization/multiplayer.cpp
Expand Up @@ -809,7 +809,7 @@ void start_local_game_commandline(CVideo& video, const config& game_config,
parameters.mp_era = *cmdline_opts.multiplayer_era;
}
if (const config& cfg_era = game_config.find_child("era", "id", parameters.mp_era)) {
state.classification().era_define = cfg_era["define"];
state.classification().era_define = cfg_era["define"].str();
}
else {
std::cerr << "Could not find era '" << parameters.mp_era << "'\n";
Expand All @@ -820,7 +820,7 @@ void start_local_game_commandline(CVideo& video, const config& game_config,
parameters.name = *cmdline_opts.multiplayer_scenario;
}
if (const config& cfg_multiplayer = game_config.find_child("multiplayer", "id", parameters.name)) {
state.classification().scenario_define = cfg_multiplayer["define"];
state.classification().scenario_define = cfg_multiplayer["define"].str();
}
else {
std::cerr << "Could not find [multiplayer] '" << parameters.name << "'\n";
Expand Down

0 comments on commit bc84ecf

Please sign in to comment.