From 8c302479047fcd9f185bbbefcad621f47d8b9208 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 15 Jun 2006 22:23:47 +0000 Subject: - Fixed "wedding_ignore_palette: yes" not working when relogging with the gear already equipped. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7189 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/map/pc.c b/src/map/pc.c index b76856dcb..c3e533a21 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -634,11 +634,6 @@ int pc_authok(struct map_session_data *sd, int login_id2, time_t connect_until_t pc_setinventorydata(sd); pc_checkitem(sd); - //Set here because we need the inventory data for weapon sprite parsing. - status_set_viewdata(&sd->bl, sd->status.class_); - status_change_init(&sd->bl); - unit_dataset(&sd->bl); - if ((battle_config.atc_gmonly == 0 || pc_isGM(sd)) && (pc_isGM(sd) >= get_atcommand_level(AtCommand_Hide))) sd->status.option &= (OPTION_MASK | OPTION_INVISIBLE); @@ -646,6 +641,11 @@ int pc_authok(struct map_session_data *sd, int login_id2, time_t connect_until_t sd->status.option &= OPTION_MASK; sd->sc.option = sd->status.option; //This is the actual option used in battle. + //Set here because we need the inventory data for weapon sprite parsing. + status_set_viewdata(&sd->bl, sd->status.class_); + status_change_init(&sd->bl); + unit_dataset(&sd->bl); + sd->guild_x = -1; sd->guild_y = -1; -- cgit v1.2.3-70-g09d2