diff options
author | Haru <haru@dotalux.com> | 2017-09-18 22:27:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-18 22:27:27 +0200 |
commit | f4a58bbf20e1a46420df0ea9264876217b150a66 (patch) | |
tree | bd927c5fb9cf13ccde47cf3be623bd7576de879b /src/map/script.c | |
parent | 4d22718535748341b909a9fe5b45ff9e2bc997d1 (diff) | |
parent | 84d86640562005f2a395d31296a764058480e80b (diff) | |
download | hercules-f4a58bbf20e1a46420df0ea9264876217b150a66.tar.gz hercules-f4a58bbf20e1a46420df0ea9264876217b150a66.tar.bz2 hercules-f4a58bbf20e1a46420df0ea9264876217b150a66.tar.xz hercules-f4a58bbf20e1a46420df0ea9264876217b150a66.zip |
Merge pull request #1841 from mekolat/useatcmd
Deprecate buildin_useatcmd
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/script.c b/src/map/script.c index 7dcebd6f6..8ddb056bd 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -23476,7 +23476,7 @@ BUILDIN(rodex_sendmail) // Common parameters - sender/message/zeny if (rodex_sendmail_sub(st, &msg) == false) return false; - + // Item list while (i < RODEX_MAX_ITEM && script_hasdata(st, param)) { struct item_data *idata; @@ -23505,7 +23505,7 @@ BUILDIN(rodex_sendmail) msg.items[i].item.nameid = idata->nameid; msg.items[i].item.amount = script_getnum(st, (param + 1)); msg.items[i].item.identify = 1; - + ++i; param += 2; } @@ -23583,7 +23583,7 @@ BUILDIN(rodex_sendmail2) for (j = 0; j < MAX_SLOTS; ++j) { msg.items[i].item.card[j] = script_getnum(st, param + 4 + j); } - + ++i; param += 4 + MAX_SLOTS; } @@ -24233,7 +24233,7 @@ void script_parse_builtin(void) { **/ BUILDIN_DEF(bindatcmd, "ss???"), BUILDIN_DEF(unbindatcmd, "s"), - BUILDIN_DEF(useatcmd, "s"), + BUILDIN_DEF_DEPRECATED(useatcmd, "s"), BUILDIN_DEF(has_permission, "v?"), BUILDIN_DEF(can_use_command, "s?"), BUILDIN_DEF(add_group_command, "siii"), |