From 9a651bc6c9a65c69f6afe858ec12c7aa42751340 Mon Sep 17 00:00:00 2001 From: Ibrahim Zidan Date: Sat, 4 May 2019 23:40:41 +0200 Subject: Fix inter-server deleting zeny from rodex mails when a player requests to take item Signed-off-by: Ibrahim Zidan --- src/char/int_rodex.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/char') 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; } -- cgit v1.2.3-60-g2f50