[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
This commit is contained in:
@@ -545,7 +545,7 @@ void PoolMgr::Initialize()
|
||||
QueryResult result = WorldDatabase.Query("SELECT MAX(entry) FROM pool_template");
|
||||
if (result)
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
Field* fields = result->Fetch();
|
||||
max_pool_id = fields[0].GetUInt32();
|
||||
}
|
||||
|
||||
@@ -578,7 +578,7 @@ void PoolMgr::LoadFromDB()
|
||||
uint32 count = 0;
|
||||
do
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
Field* fields = result->Fetch();
|
||||
|
||||
uint32 pool_id = fields[0].GetUInt32();
|
||||
|
||||
@@ -612,7 +612,7 @@ void PoolMgr::LoadFromDB()
|
||||
uint32 count = 0;
|
||||
do
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
Field* fields = result->Fetch();
|
||||
|
||||
uint32 guid = fields[0].GetUInt32();
|
||||
uint32 pool_id = fields[1].GetUInt32();
|
||||
@@ -634,7 +634,7 @@ void PoolMgr::LoadFromDB()
|
||||
sLog->outErrorDb("`pool_creature` has an invalid chance (%f) for creature guid (%u) in pool id (%u), skipped.", chance, guid, pool_id);
|
||||
continue;
|
||||
}
|
||||
PoolTemplateData *pPoolTemplate = &mPoolTemplate[pool_id];
|
||||
PoolTemplateData* pPoolTemplate = &mPoolTemplate[pool_id];
|
||||
PoolObject plObject = PoolObject(guid, chance);
|
||||
PoolGroup<Creature>& cregroup = mPoolCreatureGroups[pool_id];
|
||||
cregroup.SetPoolId(pool_id);
|
||||
@@ -670,7 +670,7 @@ void PoolMgr::LoadFromDB()
|
||||
uint32 count = 0;
|
||||
do
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
Field* fields = result->Fetch();
|
||||
|
||||
uint32 guid = fields[0].GetUInt32();
|
||||
uint32 pool_id = fields[1].GetUInt32();
|
||||
@@ -704,7 +704,7 @@ void PoolMgr::LoadFromDB()
|
||||
continue;
|
||||
}
|
||||
|
||||
PoolTemplateData *pPoolTemplate = &mPoolTemplate[pool_id];
|
||||
PoolTemplateData* pPoolTemplate = &mPoolTemplate[pool_id];
|
||||
PoolObject plObject = PoolObject(guid, chance);
|
||||
PoolGroup<GameObject>& gogroup = mPoolGameobjectGroups[pool_id];
|
||||
gogroup.SetPoolId(pool_id);
|
||||
@@ -740,7 +740,7 @@ void PoolMgr::LoadFromDB()
|
||||
uint32 count = 0;
|
||||
do
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
Field* fields = result->Fetch();
|
||||
|
||||
uint32 child_pool_id = fields[0].GetUInt32();
|
||||
uint32 mother_pool_id = fields[1].GetUInt32();
|
||||
@@ -766,7 +766,7 @@ void PoolMgr::LoadFromDB()
|
||||
sLog->outErrorDb("`pool_pool` has an invalid chance (%f) for pool id (%u) in mother pool id (%u), skipped.", chance, child_pool_id, mother_pool_id);
|
||||
continue;
|
||||
}
|
||||
PoolTemplateData *pPoolTemplateMother = &mPoolTemplate[mother_pool_id];
|
||||
PoolTemplateData* pPoolTemplateMother = &mPoolTemplate[mother_pool_id];
|
||||
PoolObject plObject = PoolObject(child_pool_id, chance);
|
||||
PoolGroup<Pool>& plgroup = mPoolPoolGroups[mother_pool_id];
|
||||
plgroup.SetPoolId(mother_pool_id);
|
||||
@@ -880,7 +880,7 @@ void PoolMgr::LoadFromDB()
|
||||
continue;
|
||||
}
|
||||
|
||||
PoolTemplateData *pPoolTemplate = &mPoolTemplate[pool_id];
|
||||
PoolTemplateData* pPoolTemplate = &mPoolTemplate[pool_id];
|
||||
PoolObject plObject = PoolObject(entry, 0.0f);
|
||||
PoolGroup<Quest>& questgroup = mPoolQuestGroups[pool_id];
|
||||
questgroup.SetPoolId(pool_id);
|
||||
@@ -916,7 +916,7 @@ void PoolMgr::LoadFromDB()
|
||||
uint32 count = 0;
|
||||
do
|
||||
{
|
||||
Field *fields = result->Fetch();
|
||||
Field* fields = result->Fetch();
|
||||
uint32 pool_entry = fields[0].GetUInt32();
|
||||
uint32 pool_pool_id = fields[1].GetUInt32();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user