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:
mattsc 2018-11-15 07:47:40 -08:00
parent 0ff1d90002
commit 3da48bb57a

View file

@ -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();