summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-01-30 21:36:11 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-01-30 21:36:11 +0000
commit4ca48efa52ab65853138653b30903528139d4919 (patch)
tree72857ae9fc8cc4bd4ef8cb873e332256b5eaa758 /src/map/pc.c
parentdbb6b02733e07c315435d29e46b21e7a072ce3b0 (diff)
downloadhercules-4ca48efa52ab65853138653b30903528139d4919.tar.gz
hercules-4ca48efa52ab65853138653b30903528139d4919.tar.bz2
hercules-4ca48efa52ab65853138653b30903528139d4919.tar.xz
hercules-4ca48efa52ab65853138653b30903528139d4919.zip
* Fixed equipped items' bonus no longer working after log-in until next status recalc, due to missing pc_setequipindex which was previously called by pc_checkitem (bugreport:2604, since r14685).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14688 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 48a085791..53d5277a6 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -893,6 +893,7 @@ bool pc_authok(struct map_session_data *sd, int login_id2, time_t expiration_tim
sd->state.showdelay = 1;
pc_setinventorydata(sd);
+ pc_setequipindex(sd);
status_change_init(&sd->bl);
if ((battle_config.atc_gmonly == 0 || pc_isGM(sd)) && (pc_isGM(sd) >= get_atcommand_level(atcommand_hide)))