summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-11 21:44:37 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-11 21:44:37 +0000
commitd2a341dc093542a68a2770d6302ce48c99d82169 (patch)
tree05da03b5f1394ca300329bbb8310981ffc88aff6 /src/map/atcommand.c
parent738ce633b49293892638017c15152b87b776d101 (diff)
downloadhercules-d2a341dc093542a68a2770d6302ce48c99d82169.tar.gz
hercules-d2a341dc093542a68a2770d6302ce48c99d82169.tar.bz2
hercules-d2a341dc093542a68a2770d6302ce48c99d82169.tar.xz
hercules-d2a341dc093542a68a2770d6302ce48c99d82169.zip
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
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 2 insertions, 0 deletions
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));