From 5451ba7f9967d74103a05563bc11430e9e647946 Mon Sep 17 00:00:00 2001 From: skotlex Date: Fri, 2 Jun 2006 00:54:21 +0000 Subject: - Updated item_db.sql/mob_db.sql to current. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6922 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.c | 3 +-- src/map/pc.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2