summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 20c4e072a..54d019a48 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1045,7 +1045,8 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, int
//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)
- && !(status->mode&MD_BOSS))
+ && !(status->mode&MD_BOSS)
+ && (src->type != BL_PC || ((TBL_PC*)src)->skillitem != skill_num))
return 0;
if (src) sc = status_get_sc(src);