summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-06 04:25:40 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-06 04:25:40 +0000
commita067954fa2a33d8c962022f48adb7c3bfbe828e7 (patch)
treeb1749779a448c7af1f534d0f12766332ced54b40 /src
parent8d6b71f8e12e1211ce1c62dd9bc56f1d9eb765b4 (diff)
downloadhercules-a067954fa2a33d8c962022f48adb7c3bfbe828e7.tar.gz
hercules-a067954fa2a33d8c962022f48adb7c3bfbe828e7.tar.bz2
hercules-a067954fa2a33d8c962022f48adb7c3bfbe828e7.tar.xz
hercules-a067954fa2a33d8c962022f48adb7c3bfbe828e7.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c3
-rw-r--r--src/map/pc.c4
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");