mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 22:37:06 +00:00
Apply style fix pt2
This commit is contained in:
parent
35405dd549
commit
1392c131e7
77 changed files with 1318 additions and 817 deletions
|
|
@ -5045,7 +5045,7 @@ bool ChatHandler::HandleLevelUpCommand(char* args)
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
@ -5464,7 +5464,10 @@ bool ChatHandler::HandleListAurasCommand(char* /*args*/)
|
|||
for (int i = 0; i < TOTAL_AURAS; ++i)
|
||||
{
|
||||
Unit::AuraList const& uAuraList = unit->GetAurasByType(AuraType(i));
|
||||
if (uAuraList.empty()) { continue; }
|
||||
if (uAuraList.empty())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
PSendSysMessage(LANG_COMMAND_TARGET_LISTAURATYPE, uAuraList.size(), i);
|
||||
for (Unit::AuraList::const_iterator itr = uAuraList.begin(); itr != uAuraList.end(); ++itr)
|
||||
{
|
||||
|
|
@ -7226,7 +7229,10 @@ bool ChatHandler::HandleCastSelfCommand(char* args)
|
|||
bool ChatHandler::HandleInstanceListBindsCommand(char* /*args*/)
|
||||
{
|
||||
Player* player = getSelectedPlayer();
|
||||
if (!player) { player = m_session->GetPlayer(); }
|
||||
if (!player)
|
||||
{
|
||||
player = m_session->GetPlayer();
|
||||
}
|
||||
uint32 counter = 0;
|
||||
for (uint8 i = 0; i < MAX_DIFFICULTY; ++i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue