diff options
author | QAston <none@none> | 2009-02-06 20:35:46 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-02-06 20:35:46 +0100 |
commit | dfd120b23c47006a4ba0b20f80a1521ad3d30fef (patch) | |
tree | 35aa0456fc11af97fcb59cc5ef719c5644e53b4d | |
parent | 4c5f0fd6a546400716269f205577c8f2313187ab (diff) |
*Fix Target Unit Raid.
--HG--
branch : trunk
-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; |