diff options
| author | maximius <none@none> | 2009-09-14 13:34:23 -0700 |
|---|---|---|
| committer | maximius <none@none> | 2009-09-14 13:34:23 -0700 |
| commit | 32798803f88caf2c60992c336ae5aa935d4cb349 (patch) | |
| tree | 3344fecfe1826e203d77b1b84d25ef73c410cfd2 /src/game/SpellAuras.cpp | |
| parent | 10d3d6817d4f1dda0a27e3350658463afb9c727b (diff) | |
*[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
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 |
