summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-11 21:18:12 -0300
committershennetsind <ind@henn.et>2013-04-11 21:18:12 -0300
commit789c8d77c7de5673a3cefd8ca302d97bc358ce8e (patch)
tree658701cf787a35b0ce68931d55e264d65437b284 /src/map/skill.c
parent1152ef720d3ef010a40ddf3cb5fc63fbc2f3e030 (diff)
downloadhercules-789c8d77c7de5673a3cefd8ca302d97bc358ce8e.tar.gz
hercules-789c8d77c7de5673a3cefd8ca302d97bc358ce8e.tar.bz2
hercules-789c8d77c7de5673a3cefd8ca302d97bc358ce8e.tar.xz
hercules-789c8d77c7de5673a3cefd8ca302d97bc358ce8e.zip
Hercules Channel System Update
http://hercules.ws/board/topic/316-introducing-hercules-channel-system/?p=2716 Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 2c255ffb7..1d3481453 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -12858,7 +12858,7 @@ int skill_check_condition_castbegin(struct map_session_data* sd, uint16 skill_id
MOBID_EMPERIUM, MOBID_GUARIDAN_STONE1, MOBID_GUARIDAN_STONE2)) {
char output[128];
sprintf(output, "You're too close to a stone or emperium to do this skill");
- clif->colormes(sd, COLOR_RED, output);
+ clif->colormes(sd->fd, COLOR_RED, output);
return 0;
}
}
@@ -13239,7 +13239,7 @@ int skill_check_condition_castend(struct map_session_data* sd, uint16 skill_id,
skill->get_desc(skill_id),
require.ammo_qty,
itemdb_jname(sd->status.inventory[i].nameid));
- clif->colormes(sd,COLOR_RED,e_msg);
+ clif->colormes(sd->fd,COLOR_RED,e_msg);
return 0;
}
if (!(require.ammo&1<<sd->inventory_data[i]->look)) { //Ammo type check. Send the "wrong weapon type" message