diff options
author | Ibrahim Zidan <brahem@aotsw.com> | 2019-05-04 23:40:41 +0200 |
---|---|---|
committer | Ibrahim Zidan <brahem@aotsw.com> | 2019-05-04 23:40:41 +0200 |
commit | 9a651bc6c9a65c69f6afe858ec12c7aa42751340 (patch) | |
tree | 6392f0b4f134c436fe2305fa18fd260fecde739a /src/char | |
parent | 6800dbaa70c8f11dbd583175d3874c034cbc59e6 (diff) | |
download | hercules-9a651bc6c9a65c69f6afe858ec12c7aa42751340.tar.gz hercules-9a651bc6c9a65c69f6afe858ec12c7aa42751340.tar.bz2 hercules-9a651bc6c9a65c69f6afe858ec12c7aa42751340.tar.xz hercules-9a651bc6c9a65c69f6afe858ec12c7aa42751340.zip |
Fix inter-server deleting zeny from rodex mails when a player requests to take item
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/int_rodex.c | 2 |
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; } |