compile fix

This commit is contained in:
Aokromes committed 2017-05-02 03:52:26 +02:00
1 parent bdac4421e2
commit 83680656fb
1 file changed
+1 -1
+1 -1
View File
@@ -8262,7 +8262,7 @@ void Player::CastItemCombatSpell(Unit* target, WeaponAttackType attType, uint32
else if (chance > 100.0f)
chance = GetWeaponProcChance();
if (roll_chance_f(chance) && sScriptMgr->OnCastItemCombatSpell(this, damageInfo.GetVictim(), spellInfo, item))
if (roll_chance_f(chance))
CastSpell(target, spellInfo->Id, true, item);
}
}