Core: More codestyle cleanups
This commit is contained in:
1 parent
158966dc79
commit
f16df538ee
87 files changed
+309
-309
No files matched your search
@@ -250,7 +250,7 @@ public:
|
||||
static bool HandleDebugSendOpcodeCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
Unit *unit = handler->getSelectedUnit();
|
||||
Player *player = NULL;
|
||||
Player* player = NULL;
|
||||
if (!unit || (unit->GetTypeId() != TYPEID_PLAYER))
|
||||
player = handler->GetSession()->GetPlayer();
|
||||
else
|
||||
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
}
|
||||
static bool HandleHonorAddKillCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
Unit *target = handler->getSelectedUnit();
|
||||
Unit* target = handler->getSelectedUnit();
|
||||
if (!target)
|
||||
{
|
||||
handler->SendSysMessage(LANG_PLAYER_NOT_FOUND);
|
||||
|
||||
@@ -495,7 +495,7 @@ public:
|
||||
//npc follow handling
|
||||
static bool HandleNpcFollowCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
Player *player = handler->GetSession()->GetPlayer();
|
||||
Player* player = handler->GetSession()->GetPlayer();
|
||||
Creature *creature = handler->getSelectedCreature();
|
||||
|
||||
if (!creature)
|
||||
@@ -986,7 +986,7 @@ public:
|
||||
//npc unfollow handling
|
||||
static bool HandleNpcUnFollowCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
Player *player = handler->GetSession()->GetPlayer();
|
||||
Player* player = handler->GetSession()->GetPlayer();
|
||||
Creature *creature = handler->getSelectedCreature();
|
||||
|
||||
if (!creature)
|
||||
@@ -1101,7 +1101,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
Player *player = handler->GetSession()->GetPlayer ();
|
||||
Player* player = handler->GetSession()->GetPlayer ();
|
||||
|
||||
if (player->GetPetGUID ())
|
||||
{
|
||||
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
if (!*args)
|
||||
return false;
|
||||
|
||||
Player *player = handler->GetSession()->GetPlayer();
|
||||
Player* player = handler->GetSession()->GetPlayer();
|
||||
if (!player)
|
||||
return false;
|
||||
|
||||
@@ -187,7 +187,7 @@ public:
|
||||
if (!*args)
|
||||
return false;
|
||||
|
||||
Player *player = handler->getSelectedPlayer();
|
||||
Player* player = handler->getSelectedPlayer();
|
||||
if (!player)
|
||||
{
|
||||
handler->SendSysMessage(LANG_NO_CHAR_SELECTED);
|
||||
|
||||
Reference in new issue
Block a user