diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index f21ca737ac2..b35ddb93996 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -291,7 +291,7 @@ pAuraHandler AuraHandler[TOTAL_AURAS]= &Aura::HandleModSpellHealingPercentFromAttackPower, //238 SPELL_AURA_MOD_SPELL_HEALING_OF_ATTACK_POWER implemented in Unit::SpellBaseHealingBonusDone &Aura::HandleAuraModScale, //239 SPELL_AURA_MOD_SCALE_2 only in Noggenfogger Elixir (16595) before 2.3.0 aura 61 &Aura::HandleAuraModExpertise, //240 SPELL_AURA_MOD_EXPERTISE - &Aura::HandleForceMoveForward, //241 Forces the player to move forward + &Aura::HandleForceMoveForward, //241 Forces the caster to move forward &Aura::HandleUnused, //242 SPELL_AURA_MOD_SPELL_DAMAGE_FROM_HEALING (only 2 test spels in 3.2.2a) &Aura::HandleNULL, //243 faction reaction override spells &Aura::HandleComprehendLanguage, //244 SPELL_AURA_COMPREHEND_LANGUAGE @@ -6192,8 +6192,9 @@ void Aura::HandleModRatingFromStat(bool apply, bool Real) void Aura::HandleForceMoveForward(bool apply, bool Real) { - if(!Real || GetTarget()->GetTypeId() != TYPEID_PLAYER) + if(!Real) return; + if(apply) GetTarget()->SetFlag(UNIT_FIELD_FLAGS_2, UNIT_FLAG2_FORCE_MOVE); else diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 54a254606a5..e241be80db7 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 "10765" + #define REVISION_NR "10766" #endif // __REVISION_NR_H__