diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-27 21:09:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-27 21:09:53 +0300 |
commit | 457e6e04f2f8c4b0ce5f73db8c17a2fe3c3951ed (patch) | |
tree | aabdd9b3a280aa6a6257fc65b384c1be9386c320 /src/emap/pc.c | |
parent | 24a5f119b798bce791775943da06c1feaff16027 (diff) | |
download | plugin-457e6e04f2f8c4b0ce5f73db8c17a2fe3c3951ed.tar.gz plugin-457e6e04f2f8c4b0ce5f73db8c17a2fe3c3951ed.tar.bz2 plugin-457e6e04f2f8c4b0ce5f73db8c17a2fe3c3951ed.tar.xz plugin-457e6e04f2f8c4b0ce5f73db8c17a2fe3c3951ed.zip |
Add killer id packet.
Change plugin version to 14.
Diffstat (limited to 'src/emap/pc.c')
-rw-r--r-- | src/emap/pc.c | 13 |
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; +} |