mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 20:52:04 +00:00
Fixed compile with CXX0X defined
This commit is contained in:
parent
ec23f11d93
commit
f7fb36d44b
@ -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…
x
Reference in New Issue
Block a user