diff options
Diffstat (limited to 'src/map/npc.c')
-rw-r--r-- | src/map/npc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/npc.c b/src/map/npc.c index 77ee8d486..913c13e0b 100644 --- a/src/map/npc.c +++ b/src/map/npc.c @@ -3899,6 +3899,8 @@ int npc_reload(void) { map_zone_init(); + npc->motd = npc_name2id("HerculesMOTD"); /* [Ind/Hercules] */ + //Re-read the NPC Script Events cache. npc_read_event_script(); @@ -4031,6 +4033,8 @@ int do_init_npc(void) map_zone_init(); + npc->motd = npc_name2id("HerculesMOTD"); /* [Ind/Hercules] */ + // set up the events cache memset(script_event, 0, sizeof(script_event)); npc_read_event_script(); @@ -4062,3 +4066,8 @@ int do_init_npc(void) return 0; } +void npc_defaults(void) { + npc = &npc_s; + + npc->motd = NULL; +} |