Fix or bin operation

This commit is contained in:
FutureRave 2022-03-10 20:02:25 +00:00
parent 880c348827
commit 9824152c4b
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -74,7 +74,7 @@ private:
if (!cheats_ok(ent))
return;
ent->flags = game::native::FL_GODMODE;
ent->flags ^= game::native::FL_GODMODE;
send_msg_to_client(ent->s.number, game::native::SV_CMD_CAN_IGNORE,
utils::string::va("%c \"%s\"", 0x65, (ent->flags & game::native::FL_GODMODE)
@ -86,7 +86,7 @@ private:
if (!cheats_ok(ent))
return;
ent->flags = game::native::FL_DEMI_GODMODE;
ent->flags ^= game::native::FL_DEMI_GODMODE;
send_msg_to_client(ent->s.number, game::native::SV_CMD_CAN_IGNORE,
utils::string::va("%c \"%s\"", 0x65, (ent->flags & game::native::FL_DEMI_GODMODE)
@ -98,7 +98,7 @@ private:
if (!cheats_ok(ent))
return;
ent->flags = game::native::FL_NOTARGET;
ent->flags ^= game::native::FL_NOTARGET;
send_msg_to_client(ent->s.number, game::native::SV_CMD_CAN_IGNORE,
utils::string::va("%c \"%s\"", 0x65, (ent->flags & game::native::FL_NOTARGET)