summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-04-19 05:02:44 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-05 22:22:06 +0300
commit4eba922c4a3be24e8214608c8a6b39d64f1ed312 (patch)
tree6bbd67748b0c7be577ab304af4378d75b5e7ef74 /src/map
parent91cf47ecfb7bd5962e2f67acd3d9f808d5cb15a9 (diff)
downloadhercules-4eba922c4a3be24e8214608c8a6b39d64f1ed312.tar.gz
hercules-4eba922c4a3be24e8214608c8a6b39d64f1ed312.tar.bz2
hercules-4eba922c4a3be24e8214608c8a6b39d64f1ed312.tar.xz
hercules-4eba922c4a3be24e8214608c8a6b39d64f1ed312.zip
Fix getting allow_party flag from client
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
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)