diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 2962c5882..0b5317015 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1563,7 +1563,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& float angle = 2.0f * M_PI_F * rand_norm_f(); float dest_x = m_targets.m_destX + cos(angle) * radius; float dest_y = m_targets.m_destY + sin(angle) * radius; - float dest_z = m_caster->GetPositionZ(); + float dest_z = m_targets.m_destZ; m_caster->UpdateGroundPositionZ(dest_x, dest_y, dest_z); m_targets.setDestination(dest_x, dest_y, dest_z); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 62ee97f6a..3708e5e77 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10538" + #define REVISION_NR "10539" #endif // __REVISION_NR_H__