Skip to content

Commit

Permalink
[9075] Fixed direction of move for SPELL_EFFECT_PLAYER_PULL
Browse files Browse the repository at this point in the history
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
FunkyBit authored and VladimirMangos committed Dec 27, 2009
1 parent 1d21d4e commit c5a4511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/SpellEffects.cpp
Expand Up @@ -6439,7 +6439,7 @@ void Spell::EffectPlayerPull(uint32 i)
if(!unitTarget)
return;

unitTarget->KnockBackFrom(m_caster,float(damage ? damage : unitTarget->GetDistance2d(m_caster)),float(m_spellInfo->EffectMiscValue[i])/10);
unitTarget->KnockBackFrom(m_caster, -float(damage ? damage : unitTarget->GetDistance2d(m_caster)),float(m_spellInfo->EffectMiscValue[i])/10);
}

void Spell::EffectDispelMechanic(uint32 i)
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9074"
#define REVISION_NR "9075"
#endif // __REVISION_NR_H__

0 comments on commit c5a4511

Please sign in to comment.