diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2015-08-12 11:20:12 +0530 |
---|---|---|
committer | Dastgir <dastgirpojee@rocketmail.com> | 2015-08-12 11:20:12 +0530 |
commit | 10f24ba5b82e7e563cb720a8dea9a415fd8055d7 (patch) | |
tree | 854d29dfa5096dcb1e427a2b50b47fdb4601b8b8 /src/map/instance.c | |
parent | c63f46ef29310ec846b7fb90e02e93a6abd7abdc (diff) | |
parent | be8b2eaed13475ae043daa81882e490e78396562 (diff) | |
download | hercules-10f24ba5b82e7e563cb720a8dea9a415fd8055d7.tar.gz hercules-10f24ba5b82e7e563cb720a8dea9a415fd8055d7.tar.bz2 hercules-10f24ba5b82e7e563cb720a8dea9a415fd8055d7.tar.xz hercules-10f24ba5b82e7e563cb720a8dea9a415fd8055d7.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/instance.c')
-rw-r--r-- | src/map/instance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/instance.c b/src/map/instance.c index f5688d02c..92acd1bbb 100644 --- a/src/map/instance.c +++ b/src/map/instance.c @@ -357,7 +357,7 @@ int instance_init_npc(struct block_list* bl, va_list args) { snprintf(evname, EVENT_NAME_LENGTH, "%s::OnInstanceInit", nd->exname); if( ( ev = strdb_get(npc->ev_db, evname) ) ) - script->run(ev->nd->u.scr.script, ev->pos, 0, ev->nd->bl.id); + script->run_npc(ev->nd->u.scr.script, ev->pos, 0, ev->nd->bl.id); return 1; } |