Skip to content

Commit

Permalink
read lost= from [team] when loading a savefile
Browse files Browse the repository at this point in the history
from 73f1a0c in 1.12
  • Loading branch information
gfgtdf committed Oct 14, 2014
1 parent 00e50f5 commit 78ae2f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/team.cpp
Expand Up @@ -129,6 +129,7 @@ void team::team_info::read(const config &cfg)
chose_random = cfg["chose_random"].to_bool(false);
no_leader = cfg["no_leader"].to_bool();
defeat_condition = lexical_cast_default<team::DEFEAT_CONDITION>(cfg["defeat_condition"].str(), team::NO_LEADER);
lost = cfg["lost"].to_bool(false);
hidden = cfg["hidden"].to_bool();
no_turn_confirmation = cfg["suppress_end_turn_confirmation"].to_bool();
side = cfg["side"].to_int(1);
Expand Down

0 comments on commit 78ae2f2

Please sign in to comment.