diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-12 21:34:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-12 21:34:02 +0300 |
commit | 0d9d0dbc90627d3b89286bb40fe05e270ba384ac (patch) | |
tree | 240d9283f2bba26848b5e67a1ded9abb14f11969 /src/map | |
parent | 4fa9fd843e19d041a6b142722e1f2c717a45f625 (diff) | |
download | hercules-0d9d0dbc90627d3b89286bb40fe05e270ba384ac.tar.gz hercules-0d9d0dbc90627d3b89286bb40fe05e270ba384ac.tar.bz2 hercules-0d9d0dbc90627d3b89286bb40fe05e270ba384ac.tar.xz hercules-0d9d0dbc90627d3b89286bb40fe05e270ba384ac.zip |
fix skills issue introduced in commit 5cdb3d12c4236e0c3a682e30fed96192d2c58188.
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/skill.c | 4 | ||||
-rw-r--r-- | src/map/skill.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 93396fcbc..28acb0b7f 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -14552,9 +14552,9 @@ bool skill_get_requirement_off_unknown(struct status_change *sc, uint16 *skill_i return false; } -int skill_get_requirement_item_unknown(struct status_change *sc, struct map_session_data* sd, uint16 *skill_id, uint16 *skill_lv, uint16 *idx, int *i) +bool skill_get_requirement_item_unknown(struct status_change *sc, struct map_session_data* sd, uint16 *skill_id, uint16 *skill_lv, uint16 *idx, int *i) { - return -1; + return false; } void skill_get_requirement_unknown(struct status_change *sc, struct map_session_data* sd, uint16 *skill_id, uint16 *skill_lv, struct skill_condition *req) diff --git a/src/map/skill.h b/src/map/skill.h index c0456a6d8..aadda32d9 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -2073,7 +2073,7 @@ struct skill_interface { int (*check_condition_castbegin_unknown) (struct status_change *sc, uint16 *skill_id); void (*check_condition_castend_unknown) (struct map_session_data* sd, uint16 *skill_id, uint16 *skill_lv); bool (*get_requirement_off_unknown) (struct status_change *sc, uint16 *skill_id); - int (*get_requirement_item_unknown) (struct status_change *sc, struct map_session_data* sd, uint16 *skill_id, uint16 *skill_lv, uint16 *idx, int *i); + bool (*get_requirement_item_unknown) (struct status_change *sc, struct map_session_data* sd, uint16 *skill_id, uint16 *skill_lv, uint16 *idx, int *i); void (*get_requirement_unknown) (struct status_change *sc, struct map_session_data* sd, uint16 *skill_id, uint16 *skill_lv, struct skill_condition *req); }; |