Skip to content

Commit

Permalink
fixup renaming game_state -> saved_game
Browse files Browse the repository at this point in the history
this somehow got lost.
  • Loading branch information
gfgtdf committed Jun 10, 2014
1 parent 7f6d4a7 commit 3192788
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/saved_game.cpp
Expand Up @@ -154,7 +154,16 @@ static void convert_old_saves(config& cfg){
LOG_RG<<"removing snapshot \n";
cfg.remove_child("snapshot", 0);
}

//?-1.11.? end
//1.12-1.13 begin
if(config& carryover_sides_start = cfg.child("carryover_sides_start"))
{
if(!carryover_sides_start.has_attribute("next_underlying_unit_id"))
{
carryover_sides_start["next_underlying_unit_id"] = cfg["next_underlying_unit_id"];
}
}
//1.12-1.13 end
LOG_RG<<"cfg after conversion "<<cfg<<"\n";
}

Expand Down

0 comments on commit 3192788

Please sign in to comment.