Core: cleanup.

*remove some garbage
*little bit moore const func
*fix process of args in vmap3_extractor
This commit is contained in:
Chaplain
2011-09-01 22:38:32 +03:00
parent 0046083509
commit bea649d045
14 changed files with 23 additions and 39 deletions
@@ -2299,10 +2299,6 @@ void UnitAura::Remove(AuraRemoveMode removeMode)
void UnitAura::FillTargetMap(std::map<Unit *, uint8> & targets, Unit* caster)
{
Player* modOwner = NULL;
if (caster)
modOwner = caster->GetSpellModOwner();
for (uint8 effIndex = 0; effIndex < MAX_SPELL_EFFECTS ; ++effIndex)
{
if (!HasEffect(effIndex))