summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-13 23:10:25 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-13 23:10:25 +0300
commitce2b8e7cf4442db30be2c2edfcfd28692d1f2929 (patch)
tree3571526c533debc442e93b239d922a9754dc6af4
parent1b33e9d77b4ba2e88badebbe09e743f2a4885284 (diff)
downloadplugin-ce2b8e7cf4442db30be2c2edfcfd28692d1f2929.tar.gz
plugin-ce2b8e7cf4442db30be2c2edfcfd28692d1f2929.tar.bz2
plugin-ce2b8e7cf4442db30be2c2edfcfd28692d1f2929.tar.xz
plugin-ce2b8e7cf4442db30be2c2edfcfd28692d1f2929.zip
Fix compilation errors after hercules update.
-rw-r--r--src/emap/send.c2
-rw-r--r--src/emap/skill.c3
-rw-r--r--src/emap/skill.h2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/emap/send.c b/src/emap/send.c
index 6897126..b6f3d92 100644
--- a/src/emap/send.c
+++ b/src/emap/send.c
@@ -359,7 +359,7 @@ void send_slave_say(struct map_session_data *sd,
snprintf(buf, len, "%s's %s : %s", sd->status.name, name, message);
buf[len - 1] = 0;
- clif->disp_overhead(bl, buf);
+ clif->disp_overhead(bl, buf, AREA_CHAT_WOC, NULL);
aFree(buf);
}
diff --git a/src/emap/skill.c b/src/emap/skill.c
index 4cb8ce7..a45792f 100644
--- a/src/emap/skill.c
+++ b/src/emap/skill.c
@@ -158,10 +158,11 @@ void eskill_unit_onplace_unknown(struct skill_unit *src __attribute__ ((unused))
{
}
-void eskill_check_condition_castend_unknown(struct map_session_data *sd __attribute__ ((unused)),
+bool eskill_check_condition_castend_unknown(struct map_session_data *sd __attribute__ ((unused)),
uint16 *skill_id __attribute__ ((unused)),
uint16 *skill_lv __attribute__ ((unused)))
{
+ return false;
}
void eskill_get_requirement_unknown(struct status_change *sc __attribute__ ((unused)),
diff --git a/src/emap/skill.h b/src/emap/skill.h
index 98f5d68..51d7224 100644
--- a/src/emap/skill.h
+++ b/src/emap/skill.h
@@ -73,7 +73,7 @@ void eskill_unit_onplace_unknown(struct skill_unit *src,
struct block_list *bl,
int64 *tick);
-void eskill_check_condition_castend_unknown(struct map_session_data *sd,
+bool eskill_check_condition_castend_unknown(struct map_session_data *sd,
uint16 *skill_id,
uint16 *skill_lv);