summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-09 18:05:35 -0300
committershennetsind <ind@henn.et>2013-06-09 18:05:35 -0300
commit3508292a2d76f8327da77532464cf00c32cc058a (patch)
tree1d07c09cafaf73da893fce872e096ab6ed0067a7
parent399476eb93a829a8c926cc354f147d236b478d1d (diff)
downloadhercules-3508292a2d76f8327da77532464cf00c32cc058a.tar.gz
hercules-3508292a2d76f8327da77532464cf00c32cc058a.tar.bz2
hercules-3508292a2d76f8327da77532464cf00c32cc058a.tar.xz
hercules-3508292a2d76f8327da77532464cf00c32cc058a.zip
Follow up 399476eb93a829a8c926cc354f147d236b478d1d
Signed-off-by: shennetsind <ind@henn.et>
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
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++) {