summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c3
-rw-r--r--src/map/pc.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index fc81925ee..fde947661 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8342,9 +8342,8 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
else
sd->areanpc_id = 0;
- if (pc_isdead(sd)){ //In case you warped dead.
+ if (pc_isdead(sd)) //In case you warped dead.
clif_clearchar_area(&sd->bl, 1);
- }
}
/*==========================================
diff --git a/src/map/pc.c b/src/map/pc.c
index f39b6b33a..9c42dee1c 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -796,9 +796,8 @@ int pc_reg_received(struct map_session_data *sd)
sd->mission_count = pc_readglobalreg(sd,"TK_MISSION_COUNT");
}
- if(sd->battle_status.hp == 0){
+ if(sd->battle_status.hp == 0)
pc_setrestartvalue(sd, 1);
- }
//SG map and mob read [Komurka]
for(i=0;i<3;i++) //for now - someone need to make reading from txt/sql