mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[8241] One more cleanip and crash prevention :/ for prev. commits.
This commit is contained in:
parent
aa23cf729c
commit
7c2ff6cfcb
2 changed files with 2 additions and 3 deletions
|
|
@ -5777,9 +5777,8 @@ void Aura::HandleSchoolAbsorb(bool apply, bool Real)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ice Barrier (remove effect from Shattered Barrier)
|
// Ice Barrier (remove effect from Shattered Barrier)
|
||||||
if(!apply && m_spellProto->SpellIconID == 32 && m_spellProto->SpellFamilyName == SPELLFAMILY_MAGE)
|
if(!apply && caster && m_spellProto->SpellIconID == 32 && m_spellProto->SpellFamilyName == SPELLFAMILY_MAGE)
|
||||||
{
|
{
|
||||||
Unit* caster = GetCaster();
|
|
||||||
if (!((m_removeMode == AURA_REMOVE_BY_DEFAULT && !m_modifier.m_amount) || m_removeMode == AURA_REMOVE_BY_DISPEL))
|
if (!((m_removeMode == AURA_REMOVE_BY_DEFAULT && !m_modifier.m_amount) || m_removeMode == AURA_REMOVE_BY_DISPEL))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8240"
|
#define REVISION_NR "8241"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue