diff options
-rw-r--r-- | src/map/script.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c index dc43cbbd8..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; } |