summaryrefslogtreecommitdiff
path: root/src/map/party.c
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-22 03:09:13 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-22 03:09:13 +0200
commit1443ac5b3414ecc89869b7cfaa2598564ce83218 (patch)
treeb7a8f27680bcf1464357dd7cd0360064768f9976 /src/map/party.c
parent36d001b4a491e6d1bd22c4398891de068066cbb2 (diff)
downloadhercules-1443ac5b3414ecc89869b7cfaa2598564ce83218.tar.gz
hercules-1443ac5b3414ecc89869b7cfaa2598564ce83218.tar.bz2
hercules-1443ac5b3414ecc89869b7cfaa2598564ce83218.tar.xz
hercules-1443ac5b3414ecc89869b7cfaa2598564ce83218.zip
Remove check for unused flag 0x10 from party_optionchanged()
Diffstat (limited to 'src/map/party.c')
-rw-r--r--src/map/party.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/party.c b/src/map/party.c
index 597325e7d..88108d144 100644
--- a/src/map/party.c
+++ b/src/map/party.c
@@ -738,9 +738,8 @@ static int party_optionchanged(int party_id, int account_id, int exp, int item,
//Flag&0x1: Exp change denied. Flag&0x10: Item change denied.
if(!(flag&0x01) && p->party.exp != exp)
p->party.exp=exp;
- if(!(flag&0x10) && p->party.item != item) {
+ if (p->party.item != item)
p->party.item=item;
- }
if (account_id == 0) {
flag |= 0x04;