summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-30 18:10:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-30 18:10:07 +0300
commitb826af28255cbd69318929aeb06b4164feed5588 (patch)
tree227894e4b607180e6c18001341aa383bcf8f4380 /src/emap/init.c
parent8290e4011fb9c5532c96f916d17d19567077f995 (diff)
downloadplugin-b826af28255cbd69318929aeb06b4164feed5588.tar.gz
plugin-b826af28255cbd69318929aeb06b4164feed5588.tar.bz2
plugin-b826af28255cbd69318929aeb06b4164feed5588.tar.xz
plugin-b826af28255cbd69318929aeb06b4164feed5588.zip
Add script command failedremovecardsindex.
For remove all cards from item by inventory index.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index a9aaba5..4e63623 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -144,6 +144,7 @@ HPExport void plugin_init (void)
addScriptCommand("downrefindex", "ii", downRefIndex);
addScriptCommand("successrefindex", "ii", successRefIndex);
addScriptCommand("successremovecardsindex", "i", successRemoveCardsIndex);
+ addScriptCommand("failedremovecardsindex", "ii", failedRemoveCardsIndex);
addScriptCommand("isstr", "v", isStr);
addScriptCommand("setbgteam", "ii", setBgTeam);
addScriptCommand("checknpccell", "siii", checkNpcCell);