mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10919"
|
||||
#define REVISION_NR "10920"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue