From 63efe8b1c659a3b1491321bbfbd0d1731daf8e74 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 5 Oct 2006 14:37:06 +0000 Subject: - Added function npc_unload_duplicates(), it unloads all npcs that are a duplicate of the passed one. For use with @unloadnpc to prevent crashes when you unload the npc that has duplicates. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8939 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/npc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/npc.h') diff --git a/src/map/npc.h b/src/map/npc.h index 94de8064a..2ea4f7eb7 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -77,6 +77,7 @@ void npc_timerevent_quit(struct map_session_data *sd); 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_reload(void); int npc_script_event(TBL_PC* sd, int type); -- cgit v1.2.3-70-g09d2