summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2014-12-26 20:13:14 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2014-12-26 20:13:14 +0800
commit6205a2c3de94df7e5177a25b735fd5f2c0e56e98 (patch)
tree4bc14da48779785775562bd2dea470c37793493e /src/map/pc.c
parent6dd08befa6064a652d0d98e7cb85f0e353992dd5 (diff)
downloadhercules-6205a2c3de94df7e5177a25b735fd5f2c0e56e98.tar.gz
hercules-6205a2c3de94df7e5177a25b735fd5f2c0e56e98.tar.bz2
hercules-6205a2c3de94df7e5177a25b735fd5f2c0e56e98.tar.xz
hercules-6205a2c3de94df7e5177a25b735fd5f2c0e56e98.zip
Follow up@6dd08befa6064a652d0d98e7cb85f0e353992dd5
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 1aef4e1c2..e39ddbff2 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7004,7 +7004,10 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) {
//Reset ticks.
sd->hp_loss.tick = sd->sp_loss.tick = sd->hp_regen.tick = sd->sp_regen.tick = 0;
- RESET_SPIRITS(sd);
+ if ( sd->spiritball )
+ pc->delspiritball(sd, sd->spiritball, 0);
+ for ( i = SPIRITS_TYPE_CHARM_WATER; i < SPIRITS_TYPE_SPHERE; i++ )
+ pc->del_charm(sd, sd->spiritcharm[i], i);
if (src) {
switch (src->type) {