mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[12066] Optimize some parts for ++C
This commit is contained in:
parent
ba86b02dd4
commit
3707b04330
48 changed files with 163 additions and 163 deletions
|
|
@ -2689,7 +2689,7 @@ void SpellMgr::LoadSpellChains()
|
|||
if (!talentInfo->RankID[1])
|
||||
continue;
|
||||
|
||||
for (int j = 0; j < MAX_TALENT_RANK; j++)
|
||||
for (int j = 0; j < MAX_TALENT_RANK; ++j)
|
||||
{
|
||||
uint32 spell_id = talentInfo->RankID[j];
|
||||
if (!spell_id)
|
||||
|
|
@ -3452,7 +3452,7 @@ void SpellMgr::LoadPetLevelupSpellMap()
|
|||
++family_count;
|
||||
|
||||
spellSet.insert(PetLevelupSpellSet::value_type(spell->spellLevel, spell->Id));
|
||||
count++;
|
||||
++count;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue