summaryrefslogtreecommitdiff
path: root/src/map/clif.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/clif.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/clif.c')
-rw-r--r--src/map/clif.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index f9ba58156..6974f7426 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7048,6 +7048,9 @@ int clif_message(struct block_list* bl, const char* msg)
int clif_refresh(struct map_session_data *sd)
{
nullpo_retr(-1, sd);
+
+ mail_clear(sd);
+
clif_changemap(sd,sd->mapindex,sd->bl.x,sd->bl.y);
clif_inventorylist(sd);
if(pc_iscarton(sd)) {
@@ -7688,6 +7691,8 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
return;
}
+ mail_clear(sd);
+
if (sd->state.rewarp)
{ //Rewarp player.
sd->state.rewarp = 0;