Core/Spell: build fix

This commit is contained in:
ariel- authored and roc13x committed 2017-05-04 05:02:05 +01:00
1 parent 76349ea8ce
commit 9dbbe92875
1 file changed
+12
+12
View File
@@ -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