mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 16:37:06 +00:00
Apply style fix
This commit is contained in:
parent
5531a0087d
commit
35405dd549
155 changed files with 10968 additions and 3660 deletions
|
|
@ -63,7 +63,9 @@ void GMTicketMgr::LoadGMTickets()
|
|||
|
||||
uint32 guidlow = fields[0].GetUInt32();
|
||||
if (!guidlow)
|
||||
{ continue; }
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
ObjectGuid guid = ObjectGuid(HIGHGUID_PLAYER, guidlow);
|
||||
GMTicket& ticket = m_GMTicketMap[guid];
|
||||
|
|
@ -89,7 +91,9 @@ void GMTicketMgr::DeleteAll()
|
|||
for (GMTicketMap::const_iterator itr = m_GMTicketMap.begin(); itr != m_GMTicketMap.end(); ++itr)
|
||||
{
|
||||
if (Player* owner = sObjectMgr.GetPlayer(itr->first))
|
||||
{ owner->GetSession()->SendGMTicketGetTicket(0x0A); }
|
||||
{
|
||||
owner->GetSession()->SendGMTicketGetTicket(0x0A);
|
||||
}
|
||||
}
|
||||
CharacterDatabase.Execute("DELETE FROM character_ticket");
|
||||
m_GMTicketListByCreatingOrder.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue