summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-29 15:47:57 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-29 15:47:57 +0000
commit1427ad8d171523acf31be57337f02b0e04ab5a5a (patch)
tree2fb08d7be826776d22e103fa083fa874e72e1aa5 /src/map/atcommand.c
parentb8c8b9a3a8a4a752fd3a13f181c0b5abcc869f04 (diff)
downloadhercules-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/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
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;