diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-29 15:47:57 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-04-29 15:47:57 +0000 |
commit | 1427ad8d171523acf31be57337f02b0e04ab5a5a (patch) | |
tree | 2fb08d7be826776d22e103fa083fa874e72e1aa5 /src/map/npc.h | |
parent | b8c8b9a3a8a4a752fd3a13f181c0b5abcc869f04 (diff) | |
download | hercules-1427ad8d171523acf31be57337f02b0e04ab5a5a.tar.gz hercules-1427ad8d171523acf31be57337f02b0e04ab5a5a.tar.bz2 hercules-1427ad8d171523acf31be57337f02b0e04ab5a5a.tar.xz hercules-1427ad8d171523acf31be57337f02b0e04ab5a5a.zip |
reasonably-sized performance improvement: @reloadscript is about to 3 times faster.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16004 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 81491eeb3..da5f0a295 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -152,7 +152,7 @@ int npc_gettimerevent_tick(struct npc_data* nd); int npc_settimerevent_tick(struct npc_data* nd, int newtimer); int npc_remove_map(struct npc_data* nd); void npc_unload_duplicates (struct npc_data* nd); -int npc_unload(struct npc_data* nd); +int npc_unload(struct npc_data* nd, bool); int npc_reload(void); void npc_read_event_script(void); int npc_script_event(struct map_session_data* sd, enum npce_event type); |