Core: Minor cleanups (here and there)

- Fix warning
- Fix some typos
- Correct upper 'for' limit in LoadSkillLineAbilityMap
- Remove use of magic number in a query related to security levels
This commit is contained in:
Spp- committed 2011-09-13 14:15:35 +02:00
1 parent d99db2ba27
commit 33ce07bdde
7 files changed
+11 -9

No files matched your search

+2 -2
View File
@@ -1973,7 +1973,7 @@ void SpellMgr::LoadSpellThreats()
ste.apPctMod = fields[3].GetFloat();
mSpellThreatMap[entry] = ste;
count++;
++count;
} while (result->NextRow());
sLog->outString(">> Loaded %u SpellThreatEntries in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
@@ -1988,7 +1988,7 @@ void SpellMgr::LoadSkillLineAbilityMap()
uint32 count = 0;
for (uint32 i = 0; i < sSpellMgr->GetSpellInfoStoreSize(); ++i)
for (uint32 i = 0; i < sSkillLineAbilityStore.GetNumRows(); ++i)
{
SkillLineAbilityEntry const* SkillInfo = sSkillLineAbilityStore.LookupEntry(i);
if (!SkillInfo)