From 4eba922c4a3be24e8214608c8a6b39d64f1ed312 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Apr 2019 05:02:44 +0300 Subject: Fix getting allow_party flag from client --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/clif.c b/src/map/clif.c index c62d2f8fa..803d92b2f 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -17267,7 +17267,7 @@ static void clif_parse_PartyTick(int fd, struct map_session_data *sd) __attribut static void clif_parse_PartyTick(int fd, struct map_session_data *sd) { const struct PACKET_CZ_PARTY_CONFIG *const p = RFIFOP(fd, 0); - const bool newAllowParty = p->refuseInvite ? false : true; + const bool newAllowParty = p->refuseInvite ? true : false; if (newAllowParty != sd->status.allow_party) { sd->status.allow_party = newAllowParty; if ((map->save_settings & 512) != 0) -- cgit v1.2.3-70-g09d2