diff options
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 82fd481a441..5661f5a422c 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -3436,7 +3436,7 @@ void AuraEffect::HandleAuraModShapeshift(bool apply, bool Real, bool changeAmoun if (GetMiscValue() == FORM_CAT) { - int32 basePoints = std::min(FurorChance, oldVal); + int32 basePoints = (FurorChance < oldVal ? FurorChance : oldVal); m_target->CastCustomSpell(m_target,17099,&basePoints,NULL,NULL,true,NULL,this); } else |
