mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 01:37:05 +00:00
[10920] Prevent server freeze at strnage radisu used by item 34124 spell cast
This commit is contained in:
parent
14c1329ea5
commit
1b4477164c
2 changed files with 4 additions and 1 deletions
|
|
@ -2424,6 +2424,9 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
|
|||
{
|
||||
if (!(m_targets.m_targetMask & TARGET_FLAG_DEST_LOCATION))
|
||||
{
|
||||
if (m_spellInfo->Id == 50019) // Hawk Hunting, problematic 50K radius
|
||||
radius = 10.0f;
|
||||
|
||||
float angle = m_caster->GetOrientation();
|
||||
switch(targetMode)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue