From 8d6b71f8e12e1211ce1c62dd9bc56f1d9eb765b4 Mon Sep 17 00:00:00 2001 From: Lance Date: Mon, 6 Nov 2006 04:09:49 +0000 Subject: * Temperory fixed stability issue caused by initial status_calc_pc being placed AFTER another status_calc_pc. modified Changelog-Trunk.txt modified src/map/pc.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9148 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 3 +++ src/map/pc.c | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 635246c70..9c6d7fc27 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,9 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. +2006/11/06 + * Temperory fixed stability issue caused by initial status_calc_pc + being placed AFTER another status_calc_pc. [Lance] 2006/11/05 * Updated sql files [Toms] * Updated perl files acording to rev 9135 [Toms] diff --git a/src/map/pc.c b/src/map/pc.c index 81c503188..832671430 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -803,8 +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"); - if (!sd->die_counter && (sd->class_&MAPID_UPPERMASK) == MAPID_SUPER_NOVICE) - status_calc_pc(sd, 0); //Check +10 to all stats bonus. + // 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. 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