summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-05-06 01:13:29 +0200
committerGitHub <noreply@github.com>2019-05-06 01:13:29 +0200
commitcfe4bdbebe9f98236c71e571b5120999180e1bfa (patch)
tree7d94a214ff8b577c921e3e40f399a669fd26e784 /src/char
parent4bcdd614e6d6de69edb7f203b21fc09a3fa0a5bc (diff)
parent9a651bc6c9a65c69f6afe858ec12c7aa42751340 (diff)
downloadhercules-cfe4bdbebe9f98236c71e571b5120999180e1bfa.tar.gz
hercules-cfe4bdbebe9f98236c71e571b5120999180e1bfa.tar.bz2
hercules-cfe4bdbebe9f98236c71e571b5120999180e1bfa.tar.xz
hercules-cfe4bdbebe9f98236c71e571b5120999180e1bfa.zip
Merge pull request #2455 from hemagx/hercules_fix_rodex
Fix Item retrieval from rodex
Diffstat (limited to 'src/char')
-rw-r--r--src/char/int_rodex.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/char/int_rodex.c b/src/char/int_rodex.c
index ffa5f5452..fbf628f32 100644
--- a/src/char/int_rodex.c
+++ b/src/char/int_rodex.c
@@ -493,8 +493,6 @@ static bool inter_rodex_updatemail(int fd, int account_id, int char_id, int64 ma
const int count = inter_rodex->getitems(mail_id, &items[0]);
if (SQL_ERROR == SQL->Query(inter->sql_handle, "DELETE FROM `%s` WHERE `mail_id` = '%"PRId64"'", rodex_item_db, mail_id))
Sql_ShowDebug(inter->sql_handle);
- if (SQL_ERROR == SQL->Query(inter->sql_handle, "UPDATE `%s` SET `zeny` = 0, `type` = `type` & (~4) WHERE `mail_id` = '%"PRId64"'", rodex_db, mail_id))
- Sql_ShowDebug(inter->sql_handle);
mapif->rodex_getitemsack(fd, char_id, mail_id, opentype, count, &items[0]);
break;
}