mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Replace values by defines
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
fdfd9c647a
commit
59861857e5
4 changed files with 16 additions and 13 deletions
|
|
@ -465,7 +465,7 @@ bool IsPositiveEffect(uint32 spellId, uint32 effIndex)
|
|||
return false;
|
||||
|
||||
// AttributesEx check
|
||||
if(spellproto->AttributesEx & (1<<7))
|
||||
if(spellproto->AttributesEx & SPELL_ATTR_EX_NEGATIVE)
|
||||
return false;
|
||||
|
||||
// ok, positive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue