summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 0740aa8ae..c81aa3aaf 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2805,7 +2805,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
if (skillid && skill_get_type(skillid) == BF_MAGIC && status_isimmune(bl) == 100)
{ //GTB makes all targetted magic display miss with a single bolt.
- clif_skill_damage(src, bl, tick, status_get_amotion(src), tstatus->dmotion,
+ clif_skill_damage(src, bl, tick, status_get_amotion(src), status_get_dmotion(bl),
0, 1, skillid, skilllv, skill_get_hit(skillid));
return 1;
}