summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-25 07:57:19 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-25 07:57:19 +0200
commitbe04b21c5a00a025229dbec29e1fa8bdc7da11a8 (patch)
tree26fc5809889ba3d25ec200e1570e795a24f2828e
parentdab76f21b45980eefc53b22fa9a950b4f57e54b0 (diff)
downloadhercules-be04b21c5a00a025229dbec29e1fa8bdc7da11a8.tar.gz
hercules-be04b21c5a00a025229dbec29e1fa8bdc7da11a8.tar.bz2
hercules-be04b21c5a00a025229dbec29e1fa8bdc7da11a8.tar.xz
hercules-be04b21c5a00a025229dbec29e1fa8bdc7da11a8.zip
Enable dropping items while Megaphone input box is present
-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 b025249e7..f220e0e06 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11982,7 +11982,7 @@ static void clif_parse_DropItem(int fd, struct map_session_data *sd)
if (pc_isdead(sd))
break;
- if ( pc_cant_act2(sd) || sd->state.vending )
+ if (pc_cant_act_except_npc_chat(sd) || (sd->npc_id != 0 && sd->state.using_megaphone == 0))
break;
if (sd->sc.count && (