diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-17 20:15:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-17 20:15:39 +0300 |
commit | e38b7606911d4763bd24dfa627f9ec6a7c1971d0 (patch) | |
tree | b5448dd97e7d69761e4ad389af5ede20f4b34b83 /src/map/send.c | |
parent | 1e21393782af0df7c528dba5a2f0a80ea0c7e4ab (diff) | |
download | evol-hercules-e38b7606911d4763bd24dfa627f9ec6a7c1971d0.tar.gz evol-hercules-e38b7606911d4763bd24dfa627f9ec6a7c1971d0.tar.bz2 evol-hercules-e38b7606911d4763bd24dfa627f9ec6a7c1971d0.tar.xz evol-hercules-e38b7606911d4763bd24dfa627f9ec6a7c1971d0.zip |
add pet emote packet.
Diffstat (limited to 'src/map/send.c')
-rw-r--r-- | src/map/send.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/send.c b/src/map/send.c index 097622a..7471c1f 100644 --- a/src/map/send.c +++ b/src/map/send.c @@ -274,3 +274,11 @@ void send_pet_say(struct map_session_data *sd, const char *const message) buf[len - 1] = 0; clif->GlobalMessage(&sd->pd->bl, buf); } + +void send_pet_emote(struct map_session_data *sd, const int emote) +{ + if (!sd || !sd->pd) + return; + + clif->emotion(&sd->pd->bl, emote); +} |