summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 13:31:16 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-12 22:49:16 +0300
commitd08d502d325b8dfbd344ab5a657216112beb9944 (patch)
tree9ac130677dd7d4ae87ebcfcdd71f5f96bb6c3400 /src
parentd434cdd4f7471b8526a44d1d6834f7e3c9c92eb7 (diff)
downloadhercules-d08d502d325b8dfbd344ab5a657216112beb9944.tar.gz
hercules-d08d502d325b8dfbd344ab5a657216112beb9944.tar.bz2
hercules-d08d502d325b8dfbd344ab5a657216112beb9944.tar.xz
hercules-d08d502d325b8dfbd344ab5a657216112beb9944.zip
Fix uninitialized warning in skill.c.
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c4
-rw-r--r--src/map/skill.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 28acb0b7f..53be5541c 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3382,7 +3382,7 @@ int skill_timerskill(int tid, int64 tick, int id, intptr_t data) {
skill->get_type(skl->skill_id),src,src,skl->skill_id,skl->skill_lv,tick,skl->flag,BCT_ENEMY);
break;
default:
- skill->timerskill_notarget_unknown(tid, tick, src, target, ud, skl);
+ skill->timerskill_notarget_unknown(tid, tick, src, ud, skl);
break;
}
}
@@ -3402,7 +3402,7 @@ void skill_timerskill_target_unknown(int tid, int64 tick, struct block_list *src
skill->attack(skl->type, src, src, target, skl->skill_id, skl->skill_lv, tick, skl->flag);
}
-void skill_timerskill_notarget_unknown(int tid, int64 tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl)
+void skill_timerskill_notarget_unknown(int tid, int64 tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl)
{
}
diff --git a/src/map/skill.h b/src/map/skill.h
index aadda32d9..31a268971 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -2055,7 +2055,7 @@ struct skill_interface {
void (*attack_post_unknown) (int *attack_type, struct block_list* src, struct block_list *dsrc, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);
bool (*timerskill_dead_unknown) (struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
void (*timerskill_target_unknown) (int tid, int64 tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl);
- void (*timerskill_notarget_unknown) (int tid, int64 tick, struct block_list *src, struct block_list *target, struct unit_data *ud, struct skill_timerskill *skl);
+ void (*timerskill_notarget_unknown) (int tid, int64 tick, struct block_list *src, struct unit_data *ud, struct skill_timerskill *skl);
bool (*cleartimerskill_exception) (int skill_id);
bool (*castend_id_unknown) (struct unit_data *ud, struct block_list *src, struct block_list *target);
bool (*castend_nodamage_id_dead_unknown) (struct block_list *src, struct block_list *bl, uint16 *skill_id, uint16 *skill_lv, int64 *tick, int *flag);