From The Mana World
(pushed) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
[ | Pushed as [http://gitorious.org/tmw-eathena/mainline/commit/dd0631d545b4b3e13a6cecbd287a8d91b75524c2 dd0631d545b4b3e13a6cecbd287a8d91b75524c2] | ||
<pre> | |||
From b331356270093070be635f4b5d96a884b29d4fe7 Mon Sep 17 00:00:00 2001 | |||
From: Chuck Miller <shadowmil@gmail.com> | From: Chuck Miller <shadowmil@gmail.com> | ||
Date: Thu, 21 May 2009 08:16:09 -0400 | Date: Thu, 21 May 2009 08:16:09 -0400 | ||
Line 27: | Line 29: | ||
-- | -- | ||
1.5.4.3 | 1.5.4.3 | ||
</pre> |
Latest revision as of 12:29, 21 May 2009
Pushed as dd0631d545b4b3e13a6cecbd287a8d91b75524c2
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