Warning Fixes

Code Style cleanup
Fix linux compile

--HG--
branch : trunk
This commit is contained in:
Spp committed 2010-04-29 23:12:16 +02:00
1 parent 35af94d4b5
commit cb0cb96283
17 files changed
+44 -38

No files matched your search

+7 -2
View File
@@ -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);