- Fixed a visual bug in mail when sending Zeny.
- Fixed bug pet loosing loot on logout. Bug Report 1291. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12449 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
7b3fbf72a8
commit
96acc86869
@ -2231,7 +2231,7 @@ int clif_updatestatus(struct map_session_data *sd,int type)
|
|||||||
|
|
||||||
case SP_ZENY:
|
case SP_ZENY:
|
||||||
WFIFOW(fd,0)=0xb1;
|
WFIFOW(fd,0)=0xb1;
|
||||||
WFIFOL(fd,4)=sd->status.zeny - sd->mail.zeny;
|
WFIFOL(fd,4)=sd->status.zeny;
|
||||||
break;
|
break;
|
||||||
case SP_BASEEXP:
|
case SP_BASEEXP:
|
||||||
WFIFOW(fd,0)=0xb1;
|
WFIFOW(fd,0)=0xb1;
|
||||||
|
@ -1617,6 +1617,9 @@ int map_quit(struct map_session_data *sd)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Return loot to owner
|
||||||
|
if( sd->pd ) pet_lootitem_drop(sd->pd, sd);
|
||||||
|
|
||||||
unit_remove_map_pc(sd,3);
|
unit_remove_map_pc(sd,3);
|
||||||
pc_makesavestatus(sd);
|
pc_makesavestatus(sd);
|
||||||
pc_clean_skilltree(sd);
|
pc_clean_skilltree(sd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user