Skip to content

Commit

Permalink
multiplayer_connect_engine.cpp: dereference pointer
Browse files Browse the repository at this point in the history
This fixes building with boost-1.56 and thus
https://gna.org/bugs/?22643.
  • Loading branch information
heirecka authored and cbeck88 committed Sep 23, 2014
1 parent aecd365 commit f98a126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multiplayer_connect_engine.cpp
Expand Up @@ -538,7 +538,7 @@ void connect_engine::start_game_commandline(

// Update sides with commandline parameters.
if (cmdline_opts.multiplayer_turns) {
DBG_MP << "\tsetting turns: " << cmdline_opts.multiplayer_turns <<
DBG_MP << "\tsetting turns: " << *cmdline_opts.multiplayer_turns <<
std::endl;
level_["turns"] = *cmdline_opts.multiplayer_turns;
}
Expand Down

0 comments on commit f98a126

Please sign in to comment.