[7632] more "if"-condition related codestyle in battlegroundfiles

this time with this regex:
sed -i 's/if *( *\(.*\) *)$/if (\1)/' BattleGround*
This commit is contained in:
balrok 2009-04-07 17:23:45 +00:00
parent 73d12d7ccf
commit 6b2fd22a9c
14 changed files with 346 additions and 346 deletions

View file

@ -67,7 +67,7 @@ void BattleGroundAV::RemovePlayer(Player* /*plr*/,uint64 /*guid*/)
void BattleGroundAV::HandleAreaTrigger(Player *Source, uint32 Trigger)
{
// this is wrong way to implement these things. On official it done by gameobject spell cast.
if(GetStatus() != STATUS_IN_PROGRESS)
if (GetStatus() != STATUS_IN_PROGRESS)
return;
uint32 SpellId = 0;
@ -89,7 +89,7 @@ void BattleGroundAV::HandleAreaTrigger(Player *Source, uint32 Trigger)
break;
}
if(SpellId)
if (SpellId)
Source->CastSpell(Source, SpellId, true);
}