Core/Spell: build fix

This commit is contained in:
ariel-
2017-04-14 04:26:27 -03:00
committed by roc13x
parent 76349ea8ce
commit 9dbbe92875

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