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;

View File

@@ -205,7 +205,7 @@ class instance_lost_city_of_the_tolvir : public InstanceMapScript
augh->AI()->DoAction(ACTION_AUGH_INTRO);
heroicAughSpawned = true;
}
else if (_heroicAughSpawned)
else if (heroicAughSpawned)
if (Creature* augh = instance->SummonCreature(BOSS_AUGH, AughHomePos))
augh->AI()->DoAction(ACTION_AUGH_ATTACKABLE);
break;