[10395] No debug log output when a certain ability is active

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-08-21 18:12:26 +02:00
parent c252ca5bc4
commit ddfc6386c5
2 changed files with 4 additions and 3 deletions

View file

@ -729,9 +729,10 @@ uint32 Unit::DealDamage(Unit *pVictim, uint32 damage, CleanDamage const* cleanDa
}
}
DEBUG_FILTER_LOG(LOG_FILTER_DAMAGE,"SET JUST_DIED");
if(!spiritOfRedemtionTalentReady)
if (!spiritOfRedemtionTalentReady)
pVictim->setDeathState(JUST_DIED);
else
DEBUG_FILTER_LOG(LOG_FILTER_DAMAGE,"SET JUST_DIED");
DEBUG_FILTER_LOG(LOG_FILTER_DAMAGE,"DealDamageHealth1");