summaryrefslogtreecommitdiff
path: root/src/map/rodex.c
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-25 08:20:50 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-25 08:20:50 +0200
commit1ee5255bc81b5057dae57f4f1d91b7c70efeb143 (patch)
treeb50ce313490ffdf805f0b332fdb87a6d0ea9bbe9 /src/map/rodex.c
parent87994df22212939fb9151160015953daccc289b6 (diff)
downloadhercules-1ee5255bc81b5057dae57f4f1d91b7c70efeb143.tar.gz
hercules-1ee5255bc81b5057dae57f4f1d91b7c70efeb143.tar.bz2
hercules-1ee5255bc81b5057dae57f4f1d91b7c70efeb143.tar.xz
hercules-1ee5255bc81b5057dae57f4f1d91b7c70efeb143.zip
Disable using Megaphone while Rodex send mail window is present
This also fixes the issue where the client freezes when talking to a NPC while Rodex send mail window is present.
Diffstat (limited to 'src/map/rodex.c')
-rw-r--r--src/map/rodex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/rodex.c b/src/map/rodex.c
index 998066eca..f2bb8a0d4 100644
--- a/src/map/rodex.c
+++ b/src/map/rodex.c
@@ -575,6 +575,7 @@ static void rodex_clean(struct map_session_data *sd, int8 flag)
if (flag == 0)
VECTOR_CLEAR(sd->rodex.messages);
+ sd->state.workinprogress &= ~2;
memset(&sd->rodex.tmp, 0x0, sizeof(sd->rodex.tmp));
}