aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-20 21:15:33 -0500
committermegamage <none@none>2009-04-20 21:15:33 -0500
commitfc48248221b39ec2aeb8f156efee60625daec690 (patch)
tree5813abbce3d8d2e3645a2341a17a39f33733c1c6 /src
parentdf26c17a114401d24e73fbbec8e0ed5e8a939a94 (diff)
*Fix a typo in ProcDamageAndSpellFor. Note: in TC2 this function is handled in a better way, and do not need this.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 72e8deb010c..7b1ca779871 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -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)