I don't like drycoding. It's coarse and rough and irritating and it gets everywhere.
This commit is contained in:
1 parent
ab194d5ae3
commit
d4184065b6
1 file changed
+1
-1
@@ -467,7 +467,7 @@ bool SmartAI::CanAIAttack(const Unit* /*who*/) const
|
||||
bool SmartAI::AssistPlayerInCombat(Unit* who)
|
||||
{
|
||||
if (me->HasReactState(REACT_PASSIVE))
|
||||
return;
|
||||
return false;
|
||||
|
||||
if (!who || !who->GetVictim())
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user