diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-22 03:09:13 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-22 03:09:13 +0200 |
commit | 1443ac5b3414ecc89869b7cfaa2598564ce83218 (patch) | |
tree | b7a8f27680bcf1464357dd7cd0360064768f9976 /src/map/party.c | |
parent | 36d001b4a491e6d1bd22c4398891de068066cbb2 (diff) | |
download | hercules-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.c | 3 |
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; |