Skip to content

Commit e7287a6

Browse files
committed
test
1 parent b214703 commit e7287a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/server/game/Spells/Spell.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3848,7 +3848,7 @@ void Spell::update(uint32 difftime)
38483848
}
38493849

38503850
// check if the unit caster has moved before the spell finished
3851-
if (m_timer != 0 && m_caster->IsUnit() && m_caster->ToUnit()->isMoving() && CheckMovement() != SPELL_CAST_OK)
3851+
if (m_timer != 0 && m_caster->IsUnit() && m_caster->ToUnit()->isMoving() && m_caster->ToUnit()->GetMotionMaster()->GetCurrentMovementGeneratorType() != FACE_MOTION_TYPE && CheckMovement() != SPELL_CAST_OK)
38523852
cancel();
38533853

38543854
switch (m_spellState)

0 commit comments

Comments
 (0)