diff options
author | megamage <none@none> | 2009-08-19 16:52:51 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-19 16:52:51 -0500 |
commit | 012d6fa865fb8083dcbeae9b04926527b3c19f4e (patch) | |
tree | 46b2b2c30d751888d2dd91fc31c9bd0457790b7f /src/game/Spell.h | |
parent | 618162052007b3e9003db858ea33eed11f5af4df (diff) |
[8381] Some refactoring work in Unit::m_currentSpells code. Author: VladimirMangos
* Restrict access, use enum args, move some repeated code parts to function.
* Make m_selfContainer set only part of Unit::SetCurrentCastedSpell
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.h')
-rw-r--r-- | src/game/Spell.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Spell.h b/src/game/Spell.h index b2e2aaf5bbf..298a86445fc 100644 --- a/src/game/Spell.h +++ b/src/game/Spell.h @@ -243,6 +243,7 @@ enum SpellTargets class Spell { friend struct Trinity::SpellNotifierCreatureAndPlayer; + friend void Unit::SetCurrentCastedSpell( Spell * pSpell ); public: void EffectNULL(uint32 ); |