From 3508292a2d76f8327da77532464cf00c32cc058a Mon Sep 17 00:00:00 2001 From: shennetsind Date: Sun, 9 Jun 2013 18:05:35 -0300 Subject: Follow up 399476eb93a829a8c926cc354f147d236b478d1d Signed-off-by: shennetsind --- src/map/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') diff --git a/src/map/status.c b/src/map/status.c index 9719decf0..c163135d8 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1516,7 +1516,7 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, uin if( skill_id ) { - if( src && !((TBL_PC*)src)->skillitem) { // Items that cast skills using 'itemskill' will not be handled by map_zone_db. + if( src && !(src->type == BL_PC && ((TBL_PC*)src)->skillitem)) { // Items that cast skills using 'itemskill' will not be handled by map_zone_db. int i; for(i = 0; i < map[src->m].zone->disabled_skills_count; i++) { -- cgit v1.2.3-70-g09d2