summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 9bf915917..cdf70d82f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2914,6 +2914,8 @@ int skill_addtimerskill (struct block_list *src, unsigned int tick, int target,
int i;
struct unit_data *ud;
nullpo_retr(1, src);
+ if (src->prev == NULL)
+ return 0;
ud = unit_bl2ud(src);
nullpo_retr(1, ud);