summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-23 10:38:01 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-11-23 10:38:01 +0000
commita935d9d4351bf7d377cd37f43bbb17df48a15696 (patch)
treee4c6e561d18ed65d01b7db63dae75db6a74a215a /src/map/pc.c
parentaeb23bf2a627bcf6e31650d59823af2948366af5 (diff)
downloadhercules-a935d9d4351bf7d377cd37f43bbb17df48a15696.tar.gz
hercules-a935d9d4351bf7d377cd37f43bbb17df48a15696.tar.bz2
hercules-a935d9d4351bf7d377cd37f43bbb17df48a15696.tar.xz
hercules-a935d9d4351bf7d377cd37f43bbb17df48a15696.zip
* Fixed player keeps bleeding when dead.
- if battle_config.invincible_nodamage is true, reflected damage to targets in invincible status is now 1. * Fixed a script typo i made when i was fixing a typo... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14164 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 5d94a1942..a186d4c6c 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7369,6 +7369,9 @@ void pc_bleeding (struct map_session_data *sd, unsigned int diff_tick)
{
int hp = 0, sp = 0;
+ //if( pc_isdead(sd) )
+ // return;
+
if (sd->hp_loss.value) {
sd->hp_loss.tick += diff_tick;
while (sd->hp_loss.tick >= sd->hp_loss.rate) {