summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 27faecd05..6847f0233 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -973,6 +973,10 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int
if (hide_flag&INF_GROUND_SKILL && skill_get_unit_target(skill_num)&BCT_ENEMY)
return 0;
}
+
+ //Should fail when used on top of Land Protector [Skotlex]
+ if (src && skill_num == AL_TELEPORT && map_getcell(src->m, src->x, src->y, CELL_CHKLANDPROTECTOR))
+ return 0;
if (src) sc = status_get_sc(src);