Core/Misc: apply missile canceling codestyle changes based on master branch feedback
This commit is contained in:
1 parent
ac6604fba7
commit
d45d4ed0de
2 files changed
+3
-7
No files matched your search
@@ -12517,10 +12517,8 @@ void Unit::SendPlaySpellVisualKit(uint32 id, uint32 type, uint32 duration) const
|
||||
|
||||
void Unit::CancelSpellMissiles(uint32 spellId, bool reverseMissile /*= false*/)
|
||||
{
|
||||
EventList& eventList = m_Events.GetEventList();
|
||||
bool hasMissile = false;
|
||||
|
||||
for (auto itr : eventList)
|
||||
for (auto itr : m_Events.GetEvents())
|
||||
{
|
||||
if (Spell const* spell = Spell::ExtractSpellFromEvent(itr.second))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user