diff options
| -rw-r--r-- | src/server/game/AI/CoreAI/UnitAI.cpp | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/src/server/game/AI/CoreAI/UnitAI.cpp b/src/server/game/AI/CoreAI/UnitAI.cpp index 09ba2cc19b1..0d2f623fd9e 100644 --- a/src/server/game/AI/CoreAI/UnitAI.cpp +++ b/src/server/game/AI/CoreAI/UnitAI.cpp @@ -103,8 +103,7 @@ void UnitAI::DoAddAuraToAllHostilePlayers(uint32 spellid)                  if (unit->GetTypeId() == TYPEID_PLAYER)                      me->AddAura(spellid, unit);          } -    }else -        return; +    }  }  void UnitAI::DoCastToAllHostilePlayers(uint32 spellid, bool triggered) @@ -118,8 +117,7 @@ void UnitAI::DoCastToAllHostilePlayers(uint32 spellid, bool triggered)                  if (unit->GetTypeId() == TYPEID_PLAYER)                      me->CastSpell(unit, spellid, triggered);          } -    }else -        return; +    }  }  void UnitAI::DoCast(uint32 spellId) | 
