[11506] Fixed warning at added in prev commit code.

This commit is contained in:
VladimirMangos 2011-05-18 18:40:39 +04:00
parent f3e3e53634
commit 945466934d
2 changed files with 2 additions and 2 deletions

View file

@ -2849,7 +2849,7 @@ SpellAuraProcResult Unit::HandleProcTriggerSpellAuraProc(Unit *pVictim, uint32 d
//case 44820: break; // Hate Monster (Spar) (<30%)
case 45057: // Evasive Maneuvers (Commendation of Kael`thas trinket)
// reduce you below $s1% health (in fact in this specific case can proc from any attack while health in result less $s1%)
if (int32(GetHealth()) - int32(damage) >= GetMaxHealth() * triggerAmount / 100)
if (int32(GetHealth()) - int32(damage) >= int32(GetMaxHealth() * triggerAmount / 100))
return SPELL_AURA_PROC_FAILED;
break;
//case 45903: break: // Offensive State

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11505"
#define REVISION_NR "11506"
#endif // __REVISION_NR_H__