RCA AI attack aspects: rename a variable
Done to indicate that this is not a configurable value any more (and has not been in a long time).
This commit is contained in:
parent
0ff1d90002
commit
3da48bb57a
1 changed files with 2 additions and 2 deletions
|
@ -140,8 +140,8 @@ void aspect_attacks_base::do_attack_analysis(
|
|||
// This function is called fairly frequently, so interact with the user here.
|
||||
|
||||
ai::manager::get_singleton().raise_user_interact();
|
||||
const int default_attack_depth = 5;
|
||||
if(cur_analysis.movements.size() >= std::size_t(default_attack_depth)) {
|
||||
const int max_attack_depth = 5;
|
||||
if(cur_analysis.movements.size() >= std::size_t(max_attack_depth)) {
|
||||
return;
|
||||
}
|
||||
const gamemap &map_ = resources::gameboard->map();
|
||||
|
|
Loading…
Add table
Reference in a new issue