diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 9 | ||||
-rw-r--r-- | src/game/Unit.cpp | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 77d8d06db1d..376f53f7dfd 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1488,10 +1488,11 @@ void Spell::SetTargetMap(uint32 i,uint32 cur,std::list<Unit*> &TagUnitMap) m_caster->GetPartyMember(TagUnitMap, radius); break; case TARGET_UNIT_RAID: - if(Unit *target = m_targets.getUnitTarget()) - TagUnitMap.push_back(target); - else - m_caster->GetRaidMember(TagUnitMap, radius); + //if(Unit *target = m_targets.getUnitTarget()) + // TagUnitMap.push_back(target); + //else + m_caster->GetRaidMember(TagUnitMap, radius); + TagUnitMap.push_back(m_caster); break; } }break; diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 5960cde6309..e211065f041 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -94,7 +94,7 @@ Unit::Unit() m_state = 0; m_form = FORM_NONE; m_deathState = ALIVE; - uint64 m_auraUpdateMask; + m_auraUpdateMask = 0; for (uint32 i = 0; i < CURRENT_MAX_SPELL; i++) m_currentSpells[i] = NULL; |