Fixed compile with CXX0X defined
This commit is contained in:
parent
ec23f11d93
commit
f7fb36d44b
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue