summaryrefslogtreecommitdiff
path: root/src/map/pc.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/pc.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/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 796280308..a6c953c36 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -982,6 +982,7 @@ bool pc_authok(struct map_session_data *sd, int login_id2, time_t expiration_tim
sd->cantalk_tick = tick;
sd->canskill_tick = tick;
sd->cansendmail_tick = tick;
+ sd->hchsysch_tick = tick;
for(i = 0; i < MAX_SKILL_LEVEL; i++)
sd->spirit_timer[i] = INVALID_TIMER;
@@ -4302,7 +4303,7 @@ int pc_useitem(struct map_session_data *sd,int n)
sprintf(e_msg,"Item Failed. [%s] is cooling down. wait %d seconds.",
itemdb_jname(sd->status.inventory[n].nameid),
e_tick+1);
- clif->colormes(sd,COLOR_RED,e_msg);
+ clif->colormes(sd->fd,COLOR_RED,e_msg);
return 0; // Delay has not expired yet
}
} else {// not yet used item (all slots are initially empty)