Fix another bug in statistics code, spotted by ott this time.

This commit is contained in:
Guillaume Melquiond 2004-12-23 20:03:53 +00:00
parent eeba7ed1f4
commit b8bf547759

View file

@ -224,7 +224,7 @@ void stats::read(const config& cfg)
}
if(cfg.child("defends")) {
attacks = read_battle_result_map(*cfg.child("attacks"));
defends = read_battle_result_map(*cfg.child("defends"));
}
recruit_cost = atoi(cfg["recruit_cost"].c_str());