Fix dumb mistake with persistence:

any team was probably persistent because of it.
This commit is contained in:
Guillaume Melquiond 2005-02-03 19:48:00 +00:00
parent e529d4cd98
commit dab43a3f39

View file

@ -110,7 +110,6 @@ team::team_info::team_info(const config& cfg)
else
controller = AI;
bool persistent;
std::string persist = cfg["persistent"];
if (persist.empty()) persistent = controller == HUMAN;
else persistent = persist == "1";