fix(Core/SmartAI): Remove REACT_PASSIVE check from CanAIAttack (#25186)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
parent
2c4b7c3cd4
commit
d31e58d237
1 changed files with 1 additions and 1 deletions
|
|
@ -755,7 +755,7 @@ void SmartAI::MoveInLineOfSight(Unit* who)
|
|||
|
||||
bool SmartAI::CanAIAttack(Unit const* /*who*/) const
|
||||
{
|
||||
return !(me->GetReactState() == REACT_PASSIVE);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SmartAI::AssistPlayerInCombatAgainst(Unit* who)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue