mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[7522] Fixed typo in spell cast check code.
This commit is contained in:
parent
f4030f9dff
commit
3d6c7e59a7
2 changed files with 2 additions and 2 deletions
|
|
@ -4631,7 +4631,7 @@ SpellCastResult Spell::CheckCasterAuras() const
|
||||||
prevented_reason = SPELL_FAILED_PACIFIED;
|
prevented_reason = SPELL_FAILED_PACIFIED;
|
||||||
|
|
||||||
// Attr must make flag drop spell totally immune from all effects
|
// Attr must make flag drop spell totally immune from all effects
|
||||||
if(prevented_reason)
|
if(prevented_reason != SPELL_CAST_OK)
|
||||||
{
|
{
|
||||||
if(school_immune || mechanic_immune || dispel_immune)
|
if(school_immune || mechanic_immune || dispel_immune)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "7521"
|
#define REVISION_NR "7522"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue