[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)

This commit is contained in:
Spp
2011-09-15 14:12:57 +02:00
parent 9006e4e8dc
commit af05915b9e
431 changed files with 3131 additions and 3131 deletions
@@ -106,7 +106,7 @@ public:
{
me->SetReactState(REACT_PASSIVE);
if (!me->GetEquipmentId())
if (const CreatureTemplate *info = sObjectMgr->GetCreatureTemplate(28406))
if (const CreatureTemplate* info = sObjectMgr->GetCreatureTemplate(28406))
if (info->equipmentId)
const_cast<CreatureTemplate*>(me->GetCreatureInfo())->equipmentId = info->equipmentId;
}
@@ -625,7 +625,7 @@ public:
{
npc_salanar_the_horsemanAI(Creature* c) : ScriptedAI(c) {}
void SpellHit(Unit* caster, const SpellInfo *spell)
void SpellHit(Unit* caster, const SpellInfo* spell)
{
if (spell->Id == DELIVER_STOLEN_HORSE)
{
@@ -71,7 +71,7 @@ public:
me->RestoreFaction();
}
void SpellHit(Unit* caster, const SpellInfo *spell)
void SpellHit(Unit* caster, const SpellInfo* spell)
{
if (spell->Id == SPELL_PERSUASIVE_STRIKE && caster->GetTypeId() == TYPEID_PLAYER && me->isAlive() && !uiSpeech_counter)
{
@@ -234,7 +234,7 @@ struct Location
float x, y, z, o;
};
void UpdateWorldState(Map *map, uint32 id, uint32 state)
void UpdateWorldState(Map* map, uint32 id, uint32 state)
{
Map::PlayerList const& players = map->GetPlayers();
@@ -1311,7 +1311,7 @@ public:
// pGo->SetPhaseMask(0, true);
{
Map *map = me->GetMap(); // search players with in 50 yards for quest credit
Map* map = me->GetMap(); // search players with in 50 yards for quest credit
Map::PlayerList const &PlayerList = map->GetPlayers();
if (!PlayerList.isEmpty())
{