From 5edc20529759c12add3da5c3ed0a1cfe335de6b8 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 4 Dec 2006 13:59:42 +0000 Subject: - Fixed the txt->sql converter not escaping character names before saving them. - Fixed a pet's level not resetting to their db level when you enable pet leveling and later on decide to turn it off. - Fixed a bad initialization in pc_setnewpc - Fixed restricted equipment not updating your view info after they are unequipped. - Removed a bunch of extra text/checks when ignoring characters (/ex) when Aegis does none of these checks. /inall now wipes your ignore list (it does this on Aegis, too). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9400 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 86b8d5cdb..6630a38c5 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -358,7 +358,7 @@ int pc_setnewpc(struct map_session_data *sd, int account_id, int char_id, int lo nullpo_retr(0, sd); sd->bl.id = account_id; - sd->status.char_id = account_id; + sd->status.account_id = account_id; sd->status.char_id = char_id; sd->status.sex = sex; sd->login_id1 = login_id1; @@ -6599,8 +6599,10 @@ int pc_checkitem(struct map_session_data *sd) pc_setequipindex(sd); if(calc_flag && sd->state.auth) + { status_calc_pc(sd,0); - + pc_equiplookall(sd); + } return 0; } -- cgit v1.2.3-60-g2f50