diff options
author | QAston <none@none> | 2009-07-23 15:13:17 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-07-23 15:13:17 +0200 |
commit | 1eef9f86f63ce0c61635c059681845a3a953744a (patch) | |
tree | d080b67f2a5476008f3d0474307aa14aef913e25 /src/game/Unit.cpp | |
parent | 4a0d187cd68e871be45fe662fbcb95ccebe68cce (diff) |
*Script for Plug the Sinkholes - by Drethek.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 308d510e5ae..882a599466e 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -1412,7 +1412,7 @@ void Unit::CalculateMeleeDamage(Unit *pVictim, uint32 damage, CalcDamageInfo *da damageInfo->procEx = PROC_EX_NONE; damageInfo->hitOutCome = MELEE_HIT_EVADE; - if(!this || !pVictim) + if(!pVictim) return; if(!this->isAlive() || !pVictim->isAlive()) return; |