Tab to Spaces and remove of trailing spaces

--HG--
branch : trunk
This commit is contained in:
Spp
2010-04-11 20:20:38 +02:00
parent c592fc7580
commit 65c3e979e2
38 changed files with 295 additions and 295 deletions

View File

@@ -91,7 +91,7 @@ struct DefaultTargetSelector : public std::unary_function<Unit *, bool>
int32 m_aura;
// pUnit: the reference unit
// dist: if 0: ignored, if > 0: maximum distance to the reference unit, if < 0: minimum distance to the reference unit
// dist: if 0: ignored, if > 0: maximum distance to the reference unit, if < 0: minimum distance to the reference unit
// playerOnly: self explaining
// aura: if 0: ignored, if > 0: the target shall have the aura, if < 0, the target shall NOT have the aura
DefaultTargetSelector(const Unit *pUnit, float dist, bool playerOnly, int32 aura) : me(pUnit), m_dist(dist), m_playerOnly(playerOnly), m_aura(aura) {}
@@ -205,7 +205,7 @@ void UnitAI::DoCastToAllHostilePlayers(uint32 spellid, bool triggered)
}
void UnitAI::DoCast(uint32 spellId)
{
{
Unit *target = NULL;
//sLog.outError("aggre %u %u", spellId, (uint32)AISpellInfo[spellId].target);
switch(AISpellInfo[spellId].target)