Core/Cleanup:

Mostly if(.. -> if (.. and for(.. -> for (..
but also some miscellaneous cleanup
This commit is contained in:
kaelima
2012-04-08 23:59:52 +02:00
parent 38d5fbac0e
commit 49e24e2dfb
23 changed files with 63 additions and 84 deletions
@@ -797,7 +797,7 @@ namespace Trinity
if (u->GetTypeId() == TYPEID_UNIT && ((Creature*)u)->isTotem())
return false;
if(!u->isTargetableForAttack(false))
if (!u->isTargetableForAttack(false))
return false;
return i_obj->IsWithinDistInMap(u, i_range) && !i_funit->IsFriendlyTo(u);