summaryrefslogtreecommitdiff
path: root/src/map/mail.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-06 16:43:02 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-01-06 16:43:02 +0000
commit0c8a19560039317e3db5c126d0e76a231615b4ac (patch)
tree2cddc8361f0f9328a58d0a401fc27b3b688ffa97 /src/map/mail.c
parent9827189a901458193bbc0c66081ae9a50576fd20 (diff)
downloadhercules-0c8a19560039317e3db5c126d0e76a231615b4ac.tar.gz
hercules-0c8a19560039317e3db5c126d0e76a231615b4ac.tar.bz2
hercules-0c8a19560039317e3db5c126d0e76a231615b4ac.tar.xz
hercules-0c8a19560039317e3db5c126d0e76a231615b4ac.zip
- 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
Diffstat (limited to 'src/map/mail.c')
-rw-r--r--src/map/mail.c10
1 files changed, 10 insertions, 0 deletions
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);