From The Mana World
Revision as of 12:20, 21 May 2009 by Kage (talk | contribs)
From b331356270093070be635f4b5d96a884b29d4fe7 Mon Sep 17 00:00:00 2001
From: Chuck Miller <shadowmil@gmail.com>
Date: Thu, 21 May 2009 08:16:09 -0400
Subject: [PATCH] Makes sure we tell the client to remove the healing effect

---
 src/map/pc.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/map/pc.c b/src/map/pc.c
index 64e66d7..84dc028 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5000,6 +5000,12 @@ int pc_damage(struct block_list *src,struct map_session_data *sd,int damage)
 
         // Character is dead!
 
+	// [Kage] Make sure the healing effect doesn't play
+	if  (sd->special_state.heal_effect) {
+		sd->special_state.heal_effect = 0;
+		clif_status_change(&sd->bl, SC_HEALING, 0);
+	}
+
 	sd->status.hp = 0;
 	// [Fate] Stop quickregen
 	sd->quick_regeneration_hp.amount = 0;
-- 
1.5.4.3