mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 09:33:47 +00:00
chore(core): cleanup code p3 (#16073)
* Update MMapMgr.cpp * Update UpdateFetcher.cpp * Update AuctionHouseMgr.cpp * Update AuctionHouseMgr.h * Update BattlegroundAV.cpp * Update ChannelMgr.cpp * Update ThreatMgr.h * Update Player.h * Update PlayerSettings.cpp * Update ObjectMgr.cpp * Update Guild.cpp * Update Guild.h * Update Map.cpp * Update World.cpp * Update boss_nefarian.cpp * Update boss_prince_malchezaar.cpp * Update boss_venoxis.cpp * Update zone_elwynn_forest.cpp * Update zulfarrak.cpp * Update boss_novos.cpp
This commit is contained in:
@@ -1243,7 +1243,7 @@ class spell_shadowblink : public SpellScript
|
||||
return;
|
||||
}
|
||||
|
||||
for (auto itr : spellPos)
|
||||
for (auto& itr : spellPos)
|
||||
{
|
||||
float distTarget = target->GetDistance2d(itr.second.m_positionX, itr.second.m_positionY);
|
||||
if (distTarget <= 30.f)
|
||||
|
||||
Reference in New Issue
Block a user