modified src/map/clif.c
modified src/map/pc.c git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9149 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
4d10630d37
commit
8a5566dc47
@ -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);
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user