added the game id for easier debugging

This commit is contained in:
Gunter Labes 2009-06-03 12:58:25 +00:00
parent 282504943e
commit 5c15449cc1

View file

@ -779,7 +779,8 @@ bool game::process_turn(simple_wml::document& data, const player_map::const_iter
? player_info_->find(current_player())->second.name()
: "(unfound)")
<< " (" << end_turn_ + 1 << "/" << nsides_ << ").";
LOG_GAME << msg.str() << " (socket: " << current_player() << ")\n";
LOG_GAME << msg.str() << " (socket: " << current_player()
<< ") (game id: " << id_ << ")\n";
send_and_record_server_message(msg.str().c_str());
marked.push_back(index - marked.size());