Warning Fixes
Code Style cleanup Fix linux compile --HG-- branch : trunk
This commit is contained in:
1 parent
35af94d4b5
commit
cb0cb96283
17 files changed
+44
-38
No files matched your search
@@ -558,8 +558,13 @@ void Aura::UpdateOwner(uint32 diff, WorldObject * owner)
|
||||
Player * modOwner = NULL;
|
||||
if (caster)
|
||||
{
|
||||
if ((modOwner = caster->GetSpellModOwner()) && (modSpell = modOwner->FindCurrentSpellBySpellId(GetId())))
|
||||
modOwner->SetSpellModTakingSpell(modSpell, true);
|
||||
modOwner = caster->GetSpellModOwner();
|
||||
if (modOwner)
|
||||
{
|
||||
modSpell = modOwner->FindCurrentSpellBySpellId(GetId());
|
||||
if (modSpell)
|
||||
modOwner->SetSpellModTakingSpell(modSpell, true);
|
||||
}
|
||||
}
|
||||
|
||||
Update(diff, caster);
|
||||
|
||||
Reference in new issue
Block a user