diff options
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 5 |
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; |