summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-19 12:25:19 +0300
committerAndrei Karas <akaras@inbox.ru>2020-06-01 01:08:50 +0300
commitb648e49e821760502b5b5ae826b194c98b17d529 (patch)
tree3c75a18b8f79a20a8cbf41003fe15d3bab3f0df4 /src/map/clif.c
parent495f4b84f775030e189209704387ee97adb20ee0 (diff)
downloadhercules-b648e49e821760502b5b5ae826b194c98b17d529.tar.gz
hercules-b648e49e821760502b5b5ae826b194c98b17d529.tar.bz2
hercules-b648e49e821760502b5b5ae826b194c98b17d529.tar.xz
hercules-b648e49e821760502b5b5ae826b194c98b17d529.zip
fix motd on load/unload npc.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 12242e44c..8edb47e61 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -15485,6 +15485,7 @@ static void clif_parse_GMKick(int fd, struct map_session_data *sd)
}
npc->unload_duplicates(nd, true);
npc->unload(nd, true, true);
+ npc->motd = npc->name2id("HerculesMOTD");
npc->read_event_script();
}
break;