Core/Spell: build fix
This commit is contained in:
1 parent
76349ea8ce
commit
9dbbe92875
1 file changed
+12
@@ -292,6 +292,18 @@ enum SpellGroup
|
||||
SPELL_GROUP_CORE_RANGE_MAX = 5
|
||||
};
|
||||
|
||||
namespace std
|
||||
{
|
||||
template<>
|
||||
struct hash<SpellGroup>
|
||||
{
|
||||
size_t operator()(SpellGroup const& group) const
|
||||
{
|
||||
return hash<uint32>()(uint32(group));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#define SPELL_GROUP_DB_RANGE_MIN 1000
|
||||
|
||||
// spell_id, group_id
|
||||
|
||||
Reference in new issue
Block a user