Core: Removed all double (and more) empty lines

This commit is contained in:
Shauren committed 2011-03-21 10:52:14 +01:00
1 parent f8162d609b
commit 2f79b0f266
353 files changed
+2 -799

No files matched your search

-22
View File
@@ -1131,7 +1131,6 @@ void SpellMgr::LoadSpellTargetPositions()
{
Field *fields = result->Fetch();
uint32 Spell_ID = fields[0].GetUInt32();
SpellTargetPosition st;
@@ -1271,7 +1270,6 @@ void SpellMgr::LoadSpellProcEvents()
{
Field *fields = result->Fetch();
uint32 entry = fields[0].GetUInt32();
const SpellEntry *spell = sSpellStore.LookupEntry(entry);
@@ -1501,20 +1499,17 @@ void SpellMgr::LoadSpellGroups()
{
sLog->outString();
sLog->outString(">> Loaded %u spell group definitions", count);
return;
}
std::set<uint32> groups;
do
{
Field *fields = result->Fetch();
uint32 group_id = fields[0].GetUInt32();
if (group_id <= SPELL_GROUP_DB_RANGE_MIN && group_id >= SPELL_GROUP_CORE_RANGE_MAX)
{
@@ -1588,18 +1583,15 @@ void SpellMgr::LoadSpellGroupStackRules()
if (!result)
{
sLog->outString(">> Loaded 0 spell group stack rules");
sLog->outString();
return;
}
do
{
Field *fields = result->Fetch();
uint32 group_id = fields[0].GetUInt32();
uint8 stack_rule = fields[1].GetUInt32();
if (stack_rule >= SPELL_GROUP_STACK_RULE_MAX)
@@ -1639,18 +1631,15 @@ void SpellMgr::LoadSpellThreats()
{
sLog->outString(">> Loaded %u aggro generating spells", count);
sLog->outString();
return;
}
do
{
Field *fields = result->Fetch();
uint32 entry = fields[0].GetUInt32();
uint16 Threat = fields[1].GetUInt16();
@@ -2106,7 +2095,6 @@ void SpellMgr::LoadSpellPetAuras()
{
Field *fields = result->Fetch();
uint32 spell = fields[0].GetUInt32();
uint8 eff = fields[1].GetUInt8();
uint32 pet = fields[2].GetUInt32();
@@ -2158,7 +2146,6 @@ void SpellMgr::LoadPetLevelupSpellMap()
uint32 count = 0;
uint32 family_count = 0;
for (uint32 i = 0; i < sCreatureFamilyStore.GetNumRows(); ++i)
{
@@ -2265,7 +2252,6 @@ void SpellMgr::LoadPetDefaultSpells()
uint32 countCreature = 0;
uint32 countData = 0;
for (uint32 i = 0; i < sCreatureStorage.MaxEntry; ++i)
{
@@ -2299,7 +2285,6 @@ void SpellMgr::LoadPetDefaultSpells()
sLog->outString("Loading summonable creature templates...");
oldMSTime = getMSTime();
// different summon spells
for (uint32 i = 0; i < sSpellStore.GetNumRows(); ++i)
{
@@ -2339,7 +2324,6 @@ void SpellMgr::LoadPetDefaultSpells()
}
}
sLog->outString(">> Loaded %u summonable creature templates in %u ms", countCreature, GetMSTimeDiffToNow(oldMSTime));
sLog->outString();
}
@@ -2463,7 +2447,6 @@ void SpellMgr::LoadSpellAreas()
{
Field *fields = result->Fetch();
uint32 spell = fields[0].GetUInt32();
SpellArea spellArea;
spellArea.spellId = spell;
@@ -3273,7 +3256,6 @@ void SpellMgr::LoadSpellEnchantProcData()
if (!result)
{
sLog->outString(">> Loaded %u spell enchant proc event conditions", count);
sLog->outString();
return;
@@ -3283,7 +3265,6 @@ void SpellMgr::LoadSpellEnchantProcData()
{
Field *fields = result->Fetch();
uint32 enchantId = fields[0].GetUInt32();
SpellItemEnchantmentEntry const *ench = sSpellItemEnchantmentStore.LookupEntry(enchantId);
@@ -3383,7 +3364,6 @@ void SpellMgr::LoadSpellRanks()
return;
}
uint32 rows = 0;
bool finished = false;
@@ -4164,7 +4144,6 @@ void SpellMgr::LoadEnchantCustomAttr()
uint32 size = sSpellItemEnchantmentStore.GetNumRows();
mEnchantCustomAttr.resize(size);
uint32 count = 0;
for (uint32 i = 0; i < size; ++i)
@@ -4221,7 +4200,6 @@ void SpellMgr::LoadSpellLinked()
{
Field *fields = result->Fetch();
int32 trigger = fields[0].GetInt32();
int32 effect = fields[1].GetInt32();
int32 type = fields[2].GetInt32();