mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
*Fix a typo in ProcDamageAndSpellFor. Note: in TC2 this function is handled in a better way, and do not need this.
--HG-- branch : trunk
This commit is contained in:
@@ -11412,7 +11412,7 @@ uint32 createProcExtendMask(SpellNonMeleeDamage *damageInfo, SpellMissInfo missC
|
||||
void Unit::ProcDamageAndSpellFor( bool isVictim, Unit * pTarget, uint32 procFlag, uint32 procExtra, WeaponAttackType attType, SpellEntry const * procSpell, uint32 damage )
|
||||
{
|
||||
++m_procDeep;
|
||||
if (++m_procDeep > 5)
|
||||
if (m_procDeep > 5)
|
||||
{
|
||||
sLog.outError("Prevent possible stack owerflow in Unit::ProcDamageAndSpellFor");
|
||||
if (procSpell)
|
||||
|
||||
Reference in New Issue
Block a user