From 0c8a19560039317e3db5c126d0e76a231615b4ac Mon Sep 17 00:00:00 2001 From: zephyrus Date: Sun, 6 Jan 2008 16:43:02 +0000 Subject: - Fixed a visual itemdupple bug on mail system. - Fixed Overthrusth status cannot being recalled at same skill lvl. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12023 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mail.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/map/mail.c') diff --git a/src/map/mail.c b/src/map/mail.c index a08d04c0d..8c80412a9 100644 --- a/src/map/mail.c +++ b/src/map/mail.c @@ -20,6 +20,16 @@ time_t mail_calctimes(void) return mktime(localtime(&temp)); } +void mail_clear(struct map_session_data *sd) +{ + sd->mail.nameid = 0; + sd->mail.index = 0; + sd->mail.amount = 0; + sd->mail.zeny = 0; + + return; +} + int mail_removeitem(struct map_session_data *sd, short flag) { nullpo_retr(0,sd); -- cgit v1.2.3-70-g09d2