mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
Update src/game/SpellEffects.cpp
This commit is contained in:
parent
3199d72422
commit
93c419460f
1 changed files with 1 additions and 1 deletions
|
|
@ -1438,7 +1438,7 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
|
||||
std::vector<Unit*> possibleTargets;
|
||||
possibleTargets.reserve(m_UniqueTargetInfo.size());
|
||||
for (std::list<TargetInfo>::const_iterator itr = m_UniqueTargetInfo.begin(); itr != m_UniqueTargetInfo.end(); ++itr)
|
||||
for (TargetList::const_iterator itr = m_UniqueTargetInfo.begin(); itr != m_UniqueTargetInfo.end(); ++itr)
|
||||
{
|
||||
// Skip Non-Players
|
||||
if (!itr->targetGUID.IsPlayer())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue