Remove a no longer needed variable and commented out an unused parameter.
This commit is contained in:
parent
97c7cf3928
commit
27e77fa3f9
1 changed files with 1 additions and 3 deletions
|
@ -395,7 +395,7 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
variant execute(const formula_callable& variables) const {
|
||||
variant execute(const formula_callable& /*variables*/) const {
|
||||
|
||||
int villages_number = ai_.get_info().map.villages().size();
|
||||
|
||||
|
@ -420,8 +420,6 @@ private:
|
|||
}
|
||||
}
|
||||
|
||||
int controlled_villages = allied_villages_number + opponents_villages_number;
|
||||
|
||||
//how important is each village, but multipled by 50
|
||||
int single_village_ratio = 0;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue