diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-15 17:53:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-15 17:53:26 +0300 |
commit | 403a522d51434252a27578a84bb09da25ae1d6ab (patch) | |
tree | 518c1610295248096c8905d44a28d92081f1c731 /src/map/script.c | |
parent | 36f39a0992266632465b4e8f50acc0f09cd0c30d (diff) | |
download | plugin-403a522d51434252a27578a84bb09da25ae1d6ab.tar.gz plugin-403a522d51434252a27578a84bb09da25ae1d6ab.tar.bz2 plugin-403a522d51434252a27578a84bb09da25ae1d6ab.tar.xz plugin-403a522d51434252a27578a84bb09da25ae1d6ab.zip |
Impliment script command closeDialog.
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c index 67ab95a..e54f6e2 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -133,3 +133,10 @@ BUILDIN(npcTalk3) return true; } + +BUILDIN(closeDialog) +{ + getSD(); + send_npccommand(script->rid2sd (st), st->oid, 5); + return true; +} |