From a067954fa2a33d8c962022f48adb7c3bfbe828e7 Mon Sep 17 00:00:00 2001 From: Lance Date: Mon, 6 Nov 2006 04:25:40 +0000 Subject: modified src/map/clif.c modified src/map/pc.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9149 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 3 ++- src/map/pc.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/map/clif.c b/src/map/clif.c index ef1499cd9..10f423cba 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8218,7 +8218,8 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd) if(sd->npc_id) npc_event_dequeue(sd); if(sd->state.connect_new) { - status_calc_pc(sd,1); + // Temperory moved to pc_reg_received until Skot is back. + //status_calc_pc(sd,1); if (sd->sc.option&OPTION_FALCON) clif_status_load(&sd->bl, SI_FALCON, 1); diff --git a/src/map/pc.c b/src/map/pc.c index 832671430..875277dad 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -803,10 +803,10 @@ int pc_reg_received(struct map_session_data *sd) sd->change_level = pc_readglobalreg(sd,"jobchange_level"); sd->die_counter = pc_readglobalreg(sd,"PC_DIE_COUNTER"); - // TODO: You're executing this before your initial loading in clif_parse_LoadEndAck - // Removed for stability. [Lance] //if (!sd->die_counter && (sd->class_&MAPID_UPPERMASK) == MAPID_SUPER_NOVICE) // status_calc_pc(sd, 0); //Check +10 to all stats bonus. + // Let's hope putting this here will end all misery. + status_calc_pc(sd,1); if (pc_checkskill(sd, TK_MISSION)) { sd->mission_mobid = pc_readglobalreg(sd,"TK_MISSION_ID"); sd->mission_count = pc_readglobalreg(sd,"TK_MISSION_COUNT"); -- cgit v1.2.3-70-g09d2