mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
[11911] Use mmaps for Spline Movement
This commit is contained in:
parent
df3a5f2808
commit
e738c27714
8 changed files with 55 additions and 25 deletions
|
|
@ -8686,7 +8686,7 @@ void Spell::EffectCharge(SpellEffectIndex /*eff_idx*/)
|
|||
((Creature *)unitTarget)->StopMoving();
|
||||
|
||||
// Only send MOVEMENTFLAG_WALK_MODE, client has strange issues with other move flags
|
||||
m_caster->MonsterMoveWithSpeed(x, y, z, 24.f);
|
||||
m_caster->MonsterMoveWithSpeed(x, y, z, 24.f, true, true);
|
||||
|
||||
// not all charge effects used in negative spells
|
||||
if (unitTarget != m_caster && !IsPositiveSpell(m_spellInfo->Id))
|
||||
|
|
@ -8711,7 +8711,7 @@ void Spell::EffectCharge2(SpellEffectIndex /*eff_idx*/)
|
|||
return;
|
||||
|
||||
// Only send MOVEMENTFLAG_WALK_MODE, client has strange issues with other move flags
|
||||
m_caster->MonsterMoveWithSpeed(x, y, z, 24.f);
|
||||
m_caster->MonsterMoveWithSpeed(x, y, z, 24.f, true, true);
|
||||
|
||||
// not all charge effects used in negative spells
|
||||
if (unitTarget && unitTarget != m_caster && !IsPositiveSpell(m_spellInfo->Id))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue