Fixed build

This commit is contained in:
Ovahlord
2018-01-02 22:17:47 +01:00
parent 0f984d518b
commit f97ebbb21f
2 changed files with 2 additions and 4 deletions

View File

@@ -1650,8 +1650,6 @@ void SpellMgr::LoadSpellProcs()
procEntry.Charges = spellInfo->ProcCharges;
if (!procEntry.Chance && !procEntry.ProcsPerMinute)
procEntry.Chance = float(spellInfo->ProcChance);
if (procEntry.Cooldown == Milliseconds::zero())
procEntry.Cooldown = Milliseconds(spellInfo->ProcCooldown);
// validate data
if (procEntry.SchoolMask & ~SPELL_SCHOOL_MASK_ALL)
@@ -1898,7 +1896,7 @@ void SpellMgr::LoadSpellProcs()
procEntry.ProcsPerMinute = 0;
procEntry.Chance = spellInfo->ProcChance;
procEntry.Cooldown = Milliseconds(spellInfo->ProcCooldown);
procEntry.Cooldown = Milliseconds::zero();
procEntry.Charges = spellInfo->ProcCharges;
mSpellProcMap[spellInfo->Id] = procEntry;