diff options
author | Haruna <haru@dotalux.com> | 2015-01-12 19:45:56 +0100 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2015-01-12 19:45:56 +0100 |
commit | f1350b1a2c2986d5b77f55cf941162dd48dad07b (patch) | |
tree | 240d9283f2bba26848b5e67a1ded9abb14f11969 | |
parent | 4fa9fd843e19d041a6b142722e1f2c717a45f625 (diff) | |
parent | 0d9d0dbc90627d3b89286bb40fe05e270ba384ac (diff) | |
download | hercules-f1350b1a2c2986d5b77f55cf941162dd48dad07b.tar.gz hercules-f1350b1a2c2986d5b77f55cf941162dd48dad07b.tar.bz2 hercules-f1350b1a2c2986d5b77f55cf941162dd48dad07b.tar.xz hercules-f1350b1a2c2986d5b77f55cf941162dd48dad07b.zip |
Merge pull request #441 from 4144/skillfix
fix skills issue introduced in commit 5cdb3d12c4236e0c3a682e30fed96192d2...
-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); }; |