diff options
author | Haru <haru@dotalux.com> | 2020-06-01 04:01:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-01 04:01:16 +0200 |
commit | b9f7d1439c84b64facaf7d2875adc29110c65cf4 (patch) | |
tree | 808162f3083ac05b3221c7ffcdb4e52ffd4fb90a /src/map/npc.c | |
parent | 6188b2eb25c9fdcd33cfbef50e3dd41774f37994 (diff) | |
parent | 410e04c2562f7d7dd9a2f242d6ef821dbe0b2fc5 (diff) | |
download | hercules-b9f7d1439c84b64facaf7d2875adc29110c65cf4.tar.gz hercules-b9f7d1439c84b64facaf7d2875adc29110c65cf4.tar.bz2 hercules-b9f7d1439c84b64facaf7d2875adc29110c65cf4.tar.xz hercules-b9f7d1439c84b64facaf7d2875adc29110c65cf4.zip |
Merge pull request #2713 from 4144/updatepackets
Update packets up to 2020-05-20
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 5b009ab21..6ba088a80 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -5728,8 +5728,10 @@ static bool npc_unloadfile(const char *filepath, bool unload_mobs) dbi_destroy(iter); - if (found) /// Refresh event cache. + if (found) { /// Refresh event cache. + npc->motd = npc->name2id("HerculesMOTD"); npc->read_event_script(); + } return found; } |