Code simplification;...

...it's not necessary for snapshots to copy the parent member.
This commit is contained in:
Eric S. Raymond 2009-05-20 07:50:21 +00:00
parent 942a26cd89
commit dc6cfc7457

View File

@ -547,7 +547,6 @@ void game_state::write_snapshot(config& cfg) const
{
log_scope("write_game");
cfg["label"] = label;
cfg["parent"] = parent;
cfg["history"] = history;
cfg["abbrev"] = abbrev;
cfg["version"] = game_config::version;