diff options
author | Andrei Karas <akaras@inbox.ru> | 2020-05-19 12:25:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2020-06-01 01:08:50 +0300 |
commit | b648e49e821760502b5b5ae826b194c98b17d529 (patch) | |
tree | 3c75a18b8f79a20a8cbf41003fe15d3bab3f0df4 /src/map/clif.c | |
parent | 495f4b84f775030e189209704387ee97adb20ee0 (diff) | |
download | hercules-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.c | 1 |
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; |