summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-19 23:15:28 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-05-19 23:15:28 +0000
commit408f4d9391dc280c1ac1b0fdfaa0be33f6d27d25 (patch)
treebfa54d02d359509f4cd43ff6954e1998171834d6 /src/map/atcommand.c
parentafffcf816786d01ce876d2853dcab9648ec80247 (diff)
downloadhercules-408f4d9391dc280c1ac1b0fdfaa0be33f6d27d25.tar.gz
hercules-408f4d9391dc280c1ac1b0fdfaa0be33f6d27d25.tar.bz2
hercules-408f4d9391dc280c1ac1b0fdfaa0be33f6d27d25.tar.xz
hercules-408f4d9391dc280c1ac1b0fdfaa0be33f6d27d25.zip
NPC Loaded by @loadnpc will now trigger their OnInit labels as they're loaded.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16130 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 0524ce321..e171cf239 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -4526,7 +4526,7 @@ ACMD_FUNC(loadnpc)
// add to list of script sources and run it
npc_addsrcfile(message);
- npc_parsesrcfile(message);
+ npc_parsesrcfile(message,true);
npc_read_event_script();
clif_displaymessage(fd, msg_txt(262));