Merge pull request #375 from Ashesh3/patch-1

fixed syntax error
This commit is contained in:
BenCat07 2018-04-09 10:44:51 +02:00 committed by GitHub
commit 61c2172a2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -910,7 +910,7 @@ bool DispatchUserMessage_hook(void *_this, int type, bf_read &buf)
{
if (ucccccp::validate(message))
{
if (ucccccp::decrypt(message) == "meow" && hacks::shared::antiaim::communicate && data[0] != LOCAL_E->m_IDX && playerlist::AccessData(ENTITY(data[0])).state != playerlist::k_EState::CAT;) {
if (ucccccp::decrypt(message) == "meow" && hacks::shared::antiaim::communicate && data[0] != LOCAL_E->m_IDX && playerlist::AccessData(ENTITY(data[0])).state != playerlist::k_EState::CAT) {
playerlist::AccessData(ENTITY(data[0])).state = playerlist::k_EState::CAT;
chat_stack::Say("!!meow");
}