[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
This commit is contained in:
1 parent
9006e4e8dc
commit
af05915b9e
431 files changed
+3131
-3131
No files matched your search
@@ -548,13 +548,13 @@ public:
|
||||
|
||||
if (list_queue)
|
||||
{
|
||||
std::vector<Item *> &updateQueue = player->GetItemUpdateQueue();
|
||||
std::vector<Item*> &updateQueue = player->GetItemUpdateQueue();
|
||||
for (size_t i = 0; i < updateQueue.size(); ++i)
|
||||
{
|
||||
Item* item = updateQueue[i];
|
||||
if (!item) continue;
|
||||
|
||||
Bag *container = item->GetContainer();
|
||||
Bag* container = item->GetContainer();
|
||||
uint8 bag_slot = container ? container->GetSlot() : uint8(INVENTORY_SLOT_BAG_0);
|
||||
|
||||
std::string st;
|
||||
@@ -575,7 +575,7 @@ public:
|
||||
if (check_all)
|
||||
{
|
||||
bool error = false;
|
||||
std::vector<Item *> &updateQueue = player->GetItemUpdateQueue();
|
||||
std::vector<Item*> &updateQueue = player->GetItemUpdateQueue();
|
||||
for (uint8 i = PLAYER_SLOT_START; i < PLAYER_SLOT_END; ++i)
|
||||
{
|
||||
if (i >= BUYBACK_SLOT_START && i < BUYBACK_SLOT_END)
|
||||
@@ -596,7 +596,7 @@ public:
|
||||
error = true; continue;
|
||||
}
|
||||
|
||||
if (Bag *container = item->GetContainer())
|
||||
if (Bag* container = item->GetContainer())
|
||||
{
|
||||
handler->PSendSysMessage("The item with slot %d and guid %d has a container (slot: %d, guid: %d) but shouldn't!", item->GetSlot(), item->GetGUIDLow(), container->GetSlot(), container->GetGUIDLow());
|
||||
error = true; continue;
|
||||
@@ -648,7 +648,7 @@ public:
|
||||
error = true; continue;
|
||||
}
|
||||
|
||||
Bag *container = item2->GetContainer();
|
||||
Bag* container = item2->GetContainer();
|
||||
if (!container)
|
||||
{
|
||||
handler->PSendSysMessage("The item in bag %d at slot %d with guid %d has no container!", bag->GetSlot(), item2->GetSlot(), item2->GetGUIDLow());
|
||||
@@ -860,19 +860,19 @@ public:
|
||||
|
||||
uint32 id = (uint32)atoi(i);
|
||||
|
||||
CreatureTemplate const *ci = sObjectMgr->GetCreatureTemplate(entry);
|
||||
CreatureTemplate const* ci = sObjectMgr->GetCreatureTemplate(entry);
|
||||
|
||||
if (!ci)
|
||||
return false;
|
||||
|
||||
VehicleEntry const *ve = sVehicleStore.LookupEntry(id);
|
||||
VehicleEntry const* ve = sVehicleStore.LookupEntry(id);
|
||||
|
||||
if (!ve)
|
||||
return false;
|
||||
|
||||
Creature* v = new Creature;
|
||||
|
||||
Map *map = handler->GetSession()->GetPlayer()->GetMap();
|
||||
Map* map = handler->GetSession()->GetPlayer()->GetMap();
|
||||
|
||||
if (!v->Create(sObjectMgr->GenerateLowGuid(HIGHGUID_VEHICLE), map, handler->GetSession()->GetPlayer()->GetPhaseMask(), entry, id, handler->GetSession()->GetPlayer()->GetTeam(), x, y, z, o))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user