Core/Movement: merge 335 feedback changes for interrupt handing
This commit is contained in:
1 parent
7f3a2084d1
commit
cf430ce61a
2 files changed
+10
-5
No files matched your search
@@ -409,8 +409,6 @@ Unit::Unit(bool isWorldObject) :
|
||||
|
||||
_oldFactionId = 0;
|
||||
_isWalkingBeforeCharm = false;
|
||||
|
||||
_positionUpdateInfo = PositionUpdateInfo();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
@@ -530,6 +528,9 @@ void Unit::Update(uint32 p_time)
|
||||
else if (!movespline->Finalized())
|
||||
InterruptMovementBasedAuras();
|
||||
|
||||
// All position info based actions have been executed, reset info
|
||||
_positionUpdateInfo.Reset();
|
||||
|
||||
// Update serverside orientation of channeled spells that are suposed to track the channel target
|
||||
if (Spell const* spell = m_currentSpells[CURRENT_CHANNELED_SPELL])
|
||||
if (spell->GetSpellInfo()->HasAttribute(SPELL_ATTR1_CHANNEL_TRACK_TARGET))
|
||||
|
||||
Reference in new issue
Block a user