diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 3d1793db7..f54cca264 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -1968,7 +1968,7 @@ void Unit::CalculateAbsorbAndResist(Unit *pCaster, SpellSchoolMask schoolMask, D if (spellProto->SpellIconID == 3006) { // You have a chance equal to your Parry chance - if (damagetype == DIRECT_DAMAGE && // Only for direct damage + if (damagetype == SPELL_DIRECT_DAMAGE && // Only for direct spell damage roll_chance_f(GetUnitParryChance())) // Roll chance RemainingDamage -= RemainingDamage * currentAbsorb / 100; continue; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 111e3d48a..8bc36d8c8 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "10040" + #define REVISION_NR "10041" #endif // __REVISION_NR_H__