summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-28 02:19:38 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-28 02:19:38 +0200
commit1d00e2268b7a20077d9d61dc8989b9f770344e59 (patch)
tree39699b7ab5881cb374631acdafe1652bb9c89a3d /src
parent736b288594003e1e6e4aabf8bc72f82d03143bb2 (diff)
downloadhercules-1d00e2268b7a20077d9d61dc8989b9f770344e59.tar.gz
hercules-1d00e2268b7a20077d9d61dc8989b9f770344e59.tar.bz2
hercules-1d00e2268b7a20077d9d61dc8989b9f770344e59.tar.xz
hercules-1d00e2268b7a20077d9d61dc8989b9f770344e59.zip
Unset using_megaphone state in clif_parse_LoadEndAck()
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index fa01d31b5..4febf9c84 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10629,6 +10629,9 @@ static void clif_parse_WantToConnection(int fd, struct map_session_data *sd)
static void clif_parse_LoadEndAck(int fd, struct map_session_data *sd) __attribute__((nonnull (2)));
static void clif_parse_LoadEndAck(int fd, struct map_session_data *sd)
{
+ if (sd->state.using_megaphone != 0)
+ sd->state.using_megaphone = 0;
+
if (sd->bl.prev != NULL)
return;