Fixed compile with CXX0X defined

This commit is contained in:
Sergey Popov 2012-09-04 14:23:21 +00:00
parent ec23f11d93
commit f7fb36d44b

View file

@ -180,7 +180,7 @@ void play_replay(display& disp, game_state& gamestate, const config& game_config
//for replays, use the variables specified in starting_pos
if (const config &vars = starting_pos.child("variables")) {
gamestate.carryover_sides_start["variables"] = vars;
gamestate.carryover_sides_start.child_or_add("variables") = vars;
}
try {