* 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://svn.code.sf.net/p/rathena/svn/trunk@9148 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
Lance 2006-11-06 04:09:49 +00:00
parent 3746cc5060
commit 4d10630d37
2 changed files with 7 additions and 2 deletions

View File

@ -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]

View File

@ -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");