fixed bug where keeps weren't calculated properly

This commit is contained in:
Dave White 2004-04-12 20:27:26 +00:00
parent ed6f9971ae
commit 62ee425ade

View file

@ -86,7 +86,7 @@ std::string recruit_unit(const gamemap& map, int side,
if(u == units.end())
return string_table["no_leader_to_recruit"];
if(map.is_keep(u->first)) {
if(map.is_keep(u->first) == false) {
std::cerr << "Leader not on start: leader is on " << (u->first.x+1) << "," << (u->first.y+1) << "\n";
return string_table["leader_not_on_start"];
}