* Moved status_calc_pc back to pc_authok.
modified Changelog-Trunk.txt modified src/map/pc.c git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9202 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
5446fe3c34
commit
b568e34ca3
@ -3,6 +3,8 @@ Date Added
|
|||||||
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
|
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.
|
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
|
||||||
|
|
||||||
|
2006/11/13
|
||||||
|
* Moved status_calc_pc back to pc_authok. [Lance]
|
||||||
2006/11/11
|
2006/11/11
|
||||||
* Fixed debug message in login_sql [KarLaeda]
|
* Fixed debug message in login_sql [KarLaeda]
|
||||||
2006/11/10
|
2006/11/10
|
||||||
|
@ -705,6 +705,8 @@ int pc_authok(struct map_session_data *sd, int login_id2, time_t connect_until_t
|
|||||||
sd->state.event_kill_pc = 1;
|
sd->state.event_kill_pc = 1;
|
||||||
sd->state.event_disconnect = 1;
|
sd->state.event_disconnect = 1;
|
||||||
sd->state.event_kill_mob = 1;
|
sd->state.event_kill_mob = 1;
|
||||||
|
|
||||||
|
status_calc_pc(sd,1);
|
||||||
|
|
||||||
sd->state.auth = 1;
|
sd->state.auth = 1;
|
||||||
{ //Add IP field
|
{ //Add IP field
|
||||||
@ -816,9 +818,8 @@ int pc_reg_received(struct map_session_data *sd)
|
|||||||
|
|
||||||
sd->change_level = pc_readglobalreg(sd,"jobchange_level");
|
sd->change_level = pc_readglobalreg(sd,"jobchange_level");
|
||||||
sd->die_counter = pc_readglobalreg(sd,"PC_DIE_COUNTER");
|
sd->die_counter = pc_readglobalreg(sd,"PC_DIE_COUNTER");
|
||||||
// The earliest I can get is here to prevent more failures of status_calc_pc
|
if (!sd->die_counter && (sd->class_&MAPID_UPPERMASK) == MAPID_SUPER_NOVICE)
|
||||||
// while making equipment scripts with global_regs possible. [Lance]
|
status_calc_pc(sd, 0); //Check +10 to all stats bonus.
|
||||||
status_calc_pc(sd,1);
|
|
||||||
chrif_scdata_request(sd->status.account_id, sd->status.char_id);
|
chrif_scdata_request(sd->status.account_id, sd->status.char_id);
|
||||||
|
|
||||||
if (pc_checkskill(sd, TK_MISSION)) {
|
if (pc_checkskill(sd, TK_MISSION)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user