Remove unused no_pets option from GatherSpellTargets

This commit is contained in:
nytmyr
2025-01-31 14:33:19 -06:00
parent 11963a158c
commit a765e3239c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12656,7 +12656,7 @@ void Bot::AssignBotSpellsToTypes(std::vector<BotSpells>& AIBot_spells, std::unor
}
}
std::vector<Mob*> Bot::GatherSpellTargets(bool entire_raid, Mob* target, bool no_clients, bool no_bots, bool no_pets) {
std::vector<Mob*> Bot::GatherSpellTargets(bool entire_raid, Mob* target, bool no_clients, bool no_bots) {
std::vector<Mob*> valid_spell_targets;
auto is_valid_target = [no_clients, no_bots](Mob* member) {
+1 -1
View File
@@ -537,7 +537,7 @@ public:
void SetBotTimers(std::vector<BotTimer> timers) { bot_timers = timers; }
// Targeting
std::vector<Mob*> GatherSpellTargets(bool entireRaid = false, Mob* target = nullptr, bool no_clients = false, bool no_bots = false, bool no_pets = false);
std::vector<Mob*> GatherSpellTargets(bool entireRaid = false, Mob* target = nullptr, bool no_clients = false, bool no_bots = false);
bool HasValidAETarget(Bot* caster, uint16 spell_id, uint16 spell_type, Mob* tar);
void SetHasLoS(bool has_los) { _hasLoS = has_los; }
bool HasLoS() const { return _hasLoS; }