diff options
author | Haru <haru@dotalux.com> | 2020-06-01 04:51:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 04:51:25 +0200 |
commit | 9ae024d7de475556095b1da3f68a999bcb2290a7 (patch) | |
tree | 9301c5a1974e8da6e473e0dba4e2f1c39dda8c3f /src | |
parent | eff687d497d1a1cd2f44552eda70b241583e5656 (diff) | |
parent | ab034b0ec31188c2e977a07a596504a0b971b7e6 (diff) | |
download | hercules-9ae024d7de475556095b1da3f68a999bcb2290a7.tar.gz hercules-9ae024d7de475556095b1da3f68a999bcb2290a7.tar.bz2 hercules-9ae024d7de475556095b1da3f68a999bcb2290a7.tar.xz hercules-9ae024d7de475556095b1da3f68a999bcb2290a7.zip |
Merge pull request #2746 from Jedzkie/jedzkie-pr02
Fix an issue regarding using items when the storage is open.
Diffstat (limited to 'src')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 73b41db5a..41e182cca 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5173,7 +5173,7 @@ static int pc_useitem(struct map_session_data *sd, int n) return 0; } - if (battle_config.storage_use_item == 1 && sd->state.storage_flag != STORAGE_FLAG_CLOSED) { + if (battle_config.storage_use_item == 0 && sd->state.storage_flag != STORAGE_FLAG_CLOSED) { clif->messagecolor_self(sd->fd, COLOR_RED, msg_sd(sd, 1475)); return 0; // You cannot use this item while storage is open. } |