Corrected a TXT compilation problem caused by r12023 (mail system code is not present in TXT builds).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12026 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
0848355f90
commit
67cb0da56c
@ -7049,8 +7049,6 @@ int clif_refresh(struct map_session_data *sd)
|
|||||||
{
|
{
|
||||||
nullpo_retr(-1, sd);
|
nullpo_retr(-1, sd);
|
||||||
|
|
||||||
mail_clear(sd);
|
|
||||||
|
|
||||||
clif_changemap(sd,sd->mapindex,sd->bl.x,sd->bl.y);
|
clif_changemap(sd,sd->mapindex,sd->bl.x,sd->bl.y);
|
||||||
clif_inventorylist(sd);
|
clif_inventorylist(sd);
|
||||||
if(pc_iscarton(sd)) {
|
if(pc_iscarton(sd)) {
|
||||||
@ -7073,6 +7071,11 @@ int clif_refresh(struct map_session_data *sd)
|
|||||||
clif_send_homdata(sd,0,0);
|
clif_send_homdata(sd,0,0);
|
||||||
map_foreachinrange(clif_getareachar,&sd->bl,AREA_SIZE,BL_ALL,sd);
|
map_foreachinrange(clif_getareachar,&sd->bl,AREA_SIZE,BL_ALL,sd);
|
||||||
clif_weather_check(sd);
|
clif_weather_check(sd);
|
||||||
|
|
||||||
|
#ifndef TXT_ONLY
|
||||||
|
mail_clear(sd);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7691,8 +7694,6 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
mail_clear(sd);
|
|
||||||
|
|
||||||
if (sd->state.rewarp)
|
if (sd->state.rewarp)
|
||||||
{ //Rewarp player.
|
{ //Rewarp player.
|
||||||
sd->state.rewarp = 0;
|
sd->state.rewarp = 0;
|
||||||
@ -7883,6 +7884,10 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
|
|||||||
|
|
||||||
if(sd->npc_id)
|
if(sd->npc_id)
|
||||||
npc_event_dequeue(sd);
|
npc_event_dequeue(sd);
|
||||||
|
|
||||||
|
#ifndef TXT_ONLY
|
||||||
|
mail_clear(sd);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if(map[sd->bl.m].flag.loadevent) // Lance
|
if(map[sd->bl.m].flag.loadevent) // Lance
|
||||||
|
Loading…
x
Reference in New Issue
Block a user