cheat:Privilege+NoSendDamage
This commit is contained in:
parent
87e08b1b3a
commit
094097ee71
@ -1193,9 +1193,6 @@ void Client::sendChangePassword(const std::string &oldpassword,
|
|||||||
|
|
||||||
void Client::sendDamage(u8 damage)
|
void Client::sendDamage(u8 damage)
|
||||||
{
|
{
|
||||||
NetworkPacket pkt(TOSERVER_DAMAGE, sizeof(u8));
|
|
||||||
pkt << damage;
|
|
||||||
Send(&pkt);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Client::sendRespawn()
|
void Client::sendRespawn()
|
||||||
|
@ -298,7 +298,7 @@ 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; }
|
||||||
|
|
||||||
const std::unordered_set<std::string> &getPrivilegeList() const
|
const std::unordered_set<std::string> &getPrivilegeList() const
|
||||||
{ return m_privileges; }
|
{ return m_privileges; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user