diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-06 16:43:02 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-06 16:43:02 +0000 |
commit | 0c8a19560039317e3db5c126d0e76a231615b4ac (patch) | |
tree | 2cddc8361f0f9328a58d0a401fc27b3b688ffa97 /src/map/mail.c | |
parent | 9827189a901458193bbc0c66081ae9a50576fd20 (diff) | |
download | hercules-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.c | 10 |
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); |