diff options
author | panikon <panikon@zoho.com> | 2014-05-10 01:36:18 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-05-10 01:36:18 -0300 |
commit | a2dec941492c9b7e56e3e34600e3fba9937cbf65 (patch) | |
tree | b7fa54d2d8736e355efd8a0738a453f1417a4cbf /src/map/npc.h | |
parent | 6d4ae7670d0acca504d17d27b5c971be6625a311 (diff) | |
download | hercules-a2dec941492c9b7e56e3e34600e3fba9937cbf65.tar.gz hercules-a2dec941492c9b7e56e3e34600e3fba9937cbf65.tar.bz2 hercules-a2dec941492c9b7e56e3e34600e3fba9937cbf65.tar.xz hercules-a2dec941492c9b7e56e3e34600e3fba9937cbf65.zip |
Small changes in npc loading/reloading
Compartmentalized npc file processing
Corrected event initalisation order in npc_reload
Changed loading order, now item db constants are loaded before npc processing in order to avoid
labels overwriting constants values, like Aegis Names
Added information regarding reloading scripts in /doc/script_commands.txt
Diffstat (limited to 'src/map/npc.h')
-rw-r--r-- | src/map/npc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.h b/src/map/npc.h index a277d4968..6e9686d33 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -193,7 +193,7 @@ struct npc_interface { int (*event_doall_id) (const char *name, int rid); int (*event_doall) (const char *name); int (*event_do_clock) (int tid, int64 tick, int id, intptr_t data); - void (*event_do_oninit) (void); + void (*event_do_oninit) ( bool reload ); int (*timerevent_export) (struct npc_data *nd, int i); int (*timerevent) (int tid, int64 tick, int id, intptr_t data); int (*timerevent_start) (struct npc_data *nd, int rid); |