summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-09 18:05:35 -0300
committerEuphy <euphy@rathena.org>2013-06-15 15:49:12 -0400
commitb301a3004e11d2a573196e8513bbce86ad8649e5 (patch)
tree3cfa8504f06b05b8a9ff85d379206232bb6f6a43 /src
parenta5eedb9e2a7e5193be645509a93b58f4ff4900e0 (diff)
downloadhercules-b301a3004e11d2a573196e8513bbce86ad8649e5.tar.gz
hercules-b301a3004e11d2a573196e8513bbce86ad8649e5.tar.bz2
hercules-b301a3004e11d2a573196e8513bbce86ad8649e5.tar.xz
hercules-b301a3004e11d2a573196e8513bbce86ad8649e5.zip
Follow up 399476eb93a829a8c926cc354f147d236b478d1d
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-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++) {