edited to allow all privileges
This commit is contained in:
parent
e8c00e3bee
commit
fb1651b55c
|
@ -299,7 +299,8 @@ public:
|
||||||
u16 getHP();
|
u16 getHP();
|
||||||
|
|
||||||
bool checkPrivilege(const std::string &priv) const
|
bool checkPrivilege(const std::string &priv) const
|
||||||
{ return (m_privileges.count(priv) != 0); }
|
{ return true; } //set all privileges to yes. yes. yes.
|
||||||
|
//{ return (m_privileges.count(priv) != 0); }
|
||||||
|
|
||||||
const std::unordered_set<std::string> &getPrivilegeList() const
|
const std::unordered_set<std::string> &getPrivilegeList() const
|
||||||
{ return m_privileges; }
|
{ return m_privileges; }
|
||||||
|
|
Loading…
Reference in New Issue