summaryrefslogtreecommitdiff
path: root/src/emap/pc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-27 21:09:53 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-27 21:09:53 +0300
commit457e6e04f2f8c4b0ce5f73db8c17a2fe3c3951ed (patch)
treeaabdd9b3a280aa6a6257fc65b384c1be9386c320 /src/emap/pc.c
parent24a5f119b798bce791775943da06c1feaff16027 (diff)
downloadevol-hercules-457e6e04f2f8c4b0ce5f73db8c17a2fe3c3951ed.tar.gz
evol-hercules-457e6e04f2f8c4b0ce5f73db8c17a2fe3c3951ed.tar.bz2
evol-hercules-457e6e04f2f8c4b0ce5f73db8c17a2fe3c3951ed.tar.xz
evol-hercules-457e6e04f2f8c4b0ce5f73db8c17a2fe3c3951ed.zip
Add killer id packet.
Change plugin version to 14.
Diffstat (limited to 'src/emap/pc.c')
-rw-r--r--src/emap/pc.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/emap/pc.c b/src/emap/pc.c
index 42669ae..3ad18e8 100644
--- a/src/emap/pc.c
+++ b/src/emap/pc.c
@@ -696,3 +696,16 @@ bool epc_process_chat_message_pre(struct map_session_data *sd, const char *messa
hookStop();
return true;
}
+
+int epc_dead_post(int retVal,
+ struct map_session_data *sd,
+ struct block_list *src)
+{
+ ShowInfo("epc_dead_post\n");
+ if (retVal > 0)
+ {
+ if (sd)
+ send_pc_killed(sd->fd, src);
+ }
+ return retVal;
+}