diff options
author | Haruna <haru@dotalux.com> | 2015-08-11 02:36:37 +0200 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2015-08-11 02:36:37 +0200 |
commit | e556fc1b65905ad186de70a9774b8b0aceee9bc0 (patch) | |
tree | ae7b0364ce80f7a479b3a10b6221b925f6e709ed /src/map/npc_chat.c | |
parent | 5ad96bcc2af2a5a76348fca87e52a0f038461808 (diff) | |
parent | 30bb5f0fb8c45b518993527fad628754c2723581 (diff) | |
download | hercules-e556fc1b65905ad186de70a9774b8b0aceee9bc0.tar.gz hercules-e556fc1b65905ad186de70a9774b8b0aceee9bc0.tar.bz2 hercules-e556fc1b65905ad186de70a9774b8b0aceee9bc0.tar.xz hercules-e556fc1b65905ad186de70a9774b8b0aceee9bc0.zip |
Merge pull request #625 from 4144/scripthooks
Add scripts invoking hooks
Diffstat (limited to 'src/map/npc_chat.c')
-rw-r--r-- | src/map/npc_chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc_chat.c b/src/map/npc_chat.c index 3fe379f36..67b78dcea 100644 --- a/src/map/npc_chat.c +++ b/src/map/npc_chat.c @@ -371,7 +371,7 @@ int npc_chat_sub(struct block_list* bl, va_list ap) } // run the npc script - script->run(nd->u.scr.script,lst[i].pos,sd->bl.id,nd->bl.id); + script->run_npc(nd->u.scr.script,lst[i].pos,sd->bl.id,nd->bl.id); return 0; } } |