*[8480] Provided real-time update for guidl ranks rights.
Specially for guild bank tab access rights (including currently open tab case!) Send roster broadcast for all online guild memebers at any rank edit and guild bank tab buy. Author: VladimirMangos *Fix a pretty stupid mistake of mine with that Stoneclaw Totem fix, put the code block in the wrong function! *Use comparison instead of std::min (for some reason std::min seems to expect 3 arguments on Windows!?) --HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user