I don't like drycoding. It's coarse and rough and irritating and it gets everywhere.

This commit is contained in:
treeston committed 2016-02-20 03:20:43 +01:00
1 parent ab194d5ae3
commit d4184065b6
1 file changed
+1 -1
+1 -1
View File
@@ -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;