Core: Codestyle cleanup

This commit is contained in:
click
2011-06-11 22:35:29 +02:00
parent 9ef8bd3072
commit 158966dc79
410 changed files with 1790 additions and 1790 deletions
+1 -1
View File
@@ -1056,7 +1056,7 @@ void ChatHandler::FillMessageData(WorldPacket *data, WorldSession* session, uint
*data << uint8(0);
}
Player * ChatHandler::getSelectedPlayer()
Player* ChatHandler::getSelectedPlayer()
{
if (!m_session)
return NULL;
+4 -4
View File
@@ -103,7 +103,7 @@ bool ChatHandler::HandleSetSkillCommand(const char *args)
int32 level = atol (level_p);
Player * target = getSelectedPlayer();
Player* target = getSelectedPlayer();
if (!target)
{
SendSysMessage(LANG_NO_CHAR_SELECTED);
@@ -614,7 +614,7 @@ bool ChatHandler::HandleListObjectCommand(const char *args)
return false;
}
GameObjectTemplate const * gInfo = sObjectMgr->GetGameObjectTemplate(go_id);
GameObjectTemplate const* gInfo = sObjectMgr->GetGameObjectTemplate(go_id);
if (!gInfo)
{
PSendSysMessage(LANG_COMMAND_LISTOBJINVALIDID, go_id);
@@ -2405,8 +2405,8 @@ bool ChatHandler::HandleListAurasCommand (const char * /*args*/)
{
bool talent = GetTalentSpellCost(itr->second->GetBase()->GetId()) > 0;
AuraApplication const * aurApp = itr->second;
Aura const * aura = aurApp->GetBase();
AuraApplication const* aurApp = itr->second;
Aura const* aura = aurApp->GetBase();
char const* name = aura->GetSpellProto()->SpellName[GetSessionDbcLocale()];
if (m_session)