summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-24 10:12:43 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-24 10:12:43 +0000
commit67b396bd39ce915cd2f93029080aff0cab9aec85 (patch)
treec34bc5281a91c3da98a17938c1143309b30c52f7 /src/map/pc.c
parent7e42b725526dc11abbe5c529c05013df77c8ee7b (diff)
downloadhercules-67b396bd39ce915cd2f93029080aff0cab9aec85.tar.gz
hercules-67b396bd39ce915cd2f93029080aff0cab9aec85.tar.bz2
hercules-67b396bd39ce915cd2f93029080aff0cab9aec85.tar.xz
hercules-67b396bd39ce915cd2f93029080aff0cab9aec85.zip
* Fixed the logged damage from pets doesn't count when 'pet_attack_exp_to_master' is inactive.
* Uncommented the codes that stop pc_bleeding when dead (shouldn't have been commented out.....) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14166 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index a186d4c6c..8b118270b 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7369,8 +7369,8 @@ void pc_bleeding (struct map_session_data *sd, unsigned int diff_tick)
{
int hp = 0, sp = 0;
- //if( pc_isdead(sd) )
- // return;
+ if( pc_isdead(sd) )
+ return;
if (sd->hp_loss.value) {
sd->hp_loss.tick += diff_tick;