From d2a341dc093542a68a2770d6302ce48c99d82169 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sun, 11 Feb 2007 21:44:37 +0000 Subject: Fixed @loadnpc not updating the script_event[] array git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9850 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index c7ad31805..d0fbdf291 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -27,6 +27,7 @@ #include "status.h" #include "skill.h" #include "mob.h" +#include "npc.h" #include "pet.h" #include "mercenary.h" //[orn] #include "battle.h" @@ -5968,6 +5969,7 @@ int atcommand_loadnpc(const int fd, struct map_session_data* sd, const char* com // add to list of script sources and run it npc_addsrcfile((char *)message); npc_parsesrcfile((char *)message); + npc_read_event_script(); clif_displaymessage(fd, msg_txt(262)); -- cgit v1.2.3-60-g2f50