From 1427ad8d171523acf31be57337f02b0e04ab5a5a Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 29 Apr 2012 15:47:57 +0000 Subject: 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 --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 6d5190d6e..691cf2560 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -4548,7 +4548,7 @@ ACMD_FUNC(unloadnpc) } npc_unload_duplicates(nd); - npc_unload(nd); + npc_unload(nd,true); npc_read_event_script(); clif_displaymessage(fd, msg_txt(112)); // Npc Disabled. return 0; -- cgit v1.2.3-60-g2f50