aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellMgr.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-03-30 19:06:11 +0200
committerShauren <shauren.trinity@gmail.com>2020-03-30 19:06:11 +0200
commit3cc50e69f1ece93e8542fb43575453ae4bcc5e61 (patch)
treee771165c1f4dd9c82407207634cb6023f3dd9520 /src/server/game/Spells/SpellMgr.h
parent642dd62cc7b8bfc4d4d04d2d06462737d73fcfe6 (diff)
Core/Players: Fixed racemasks usage for new races
Diffstat (limited to 'src/server/game/Spells/SpellMgr.h')
-rw-r--r--src/server/game/Spells/SpellMgr.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellMgr.h b/src/server/game/Spells/SpellMgr.h
index ed79b12eef8..710d4aadf08 100644
--- a/src/server/game/Spells/SpellMgr.h
+++ b/src/server/game/Spells/SpellMgr.h
@@ -23,6 +23,7 @@
#include "Define.h"
#include "Duration.h"
#include "IteratorPair.h"
+#include "RaceMask.h"
#include "SharedDefines.h"
#include "Util.h"
@@ -474,7 +475,7 @@ struct TC_GAME_API SpellArea
uint32 questStart; // quest start (quest must be active or rewarded for spell apply)
uint32 questEnd; // quest end (quest must not be rewarded for spell apply)
int32 auraSpell; // spell aura must be applied for spell apply)if possitive) and it must not be applied in other case
- uint64 raceMask; // can be applied only to races
+ Trinity::RaceMask<uint64> raceMask; // can be applied only to races
Gender gender; // can be applied only to gender
uint32 questStartStatus; // QuestStatus that quest_start must have in order to keep the spell
uint32 questEndStatus; // QuestStatus that the quest_end must have in order to keep the spell (if the quest_end's status is different than this, the spell will be dropped)