*Correct some trap proc checks (do not threat trap cast as triggered)
*Fix a typo causing freeze. --HG-- branch : trunk
This commit is contained in:
1 parent
d193b687e8
commit
a2701d589d
2 files changed
+4
-1
No files matched your search
+1
-1
@@ -4229,7 +4229,7 @@ void Unit::RemoveAura(AuraMap::iterator &i, AuraRemoveMode mode)
|
||||
{
|
||||
bool canBreak = false;
|
||||
// Get mask of all aurastates from remaining auras
|
||||
for(AuraStateAurasMap::iterator itr = m_auraStateAuras.lower_bound(auraState); itr != m_auraStateAuras.upper_bound(auraState) || !(auraStateFound && canBreak);)
|
||||
for(AuraStateAurasMap::iterator itr = m_auraStateAuras.lower_bound(auraState); itr != m_auraStateAuras.upper_bound(auraState) && !(auraStateFound && canBreak);)
|
||||
{
|
||||
if (itr->second == Aur)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user