From e7f6a8ad0baefe9827b42a01d99ce2e507bf9284 Mon Sep 17 00:00:00 2001 From: Kenpachi Developer Date: Thu, 25 Jun 2020 08:21:57 +0200 Subject: Disable using Megaphone while Megaphone input box is present --- src/map/pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/pc.c b/src/map/pc.c index 63d62467c..ae746dab4 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5190,7 +5190,7 @@ static int pc_useitem(struct map_session_data *sd, int n) // Store information for later use before it is lost (via pc->delitem) [Paradox924X] nameid = sd->inventory_data[n]->nameid; - if (nameid == ITEMID_MEGAPHONE && (sd->state.workinprogress & 2) != 0) { + if (nameid == ITEMID_MEGAPHONE && ((sd->state.workinprogress & 2) != 0 || sd->state.using_megaphone != 0)) { #if PACKETVER >= 20110308 clif->msgtable(sd, MSG_BUSY); #else -- cgit v1.2.3-60-g2f50