summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 6a7f94e1e..b3dd475a1 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9902,6 +9902,9 @@ static int skill_trap_splash (struct block_list *bl, va_list ap)
unit = (struct skill_unit *)src;
tick = va_arg(ap,int);
+ if( !unit->alive || bl->prev == NULL )
+ return 0;
+
nullpo_ret(sg = unit->group);
nullpo_ret(ss = map_id2bl(sg->src_id));