fixed bug where keeps weren't calculated properly
This commit is contained in:
parent
ed6f9971ae
commit
62ee425ade
1 changed files with 1 additions and 1 deletions
|
@ -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"];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue