summaryrefslogtreecommitdiff
path: root/src/map/send.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-23 11:43:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-23 11:43:12 +0300
commit9aa109f1e404c60cf94832f95c82b7056916d14a (patch)
treee0f0778b4427f7959094b3b2ad1ec432a6e6c7d8 /src/map/send.c
parent2404bb2a08f98713d872743c33811ee7e4c69c49 (diff)
downloadevol-hercules-9aa109f1e404c60cf94832f95c82b7056916d14a.tar.gz
evol-hercules-9aa109f1e404c60cf94832f95c82b7056916d14a.tar.bz2
evol-hercules-9aa109f1e404c60cf94832f95c82b7056916d14a.tar.xz
evol-hercules-9aa109f1e404c60cf94832f95c82b7056916d14a.zip
map: show most slots to other players on warp or enter visible area.
Diffstat (limited to 'src/map/send.c')
-rw-r--r--src/map/send.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/map/send.c b/src/map/send.c
index 2739e7b..8e2f878 100644
--- a/src/map/send.c
+++ b/src/map/send.c
@@ -68,3 +68,14 @@ void send_local_message(int fd, struct block_list* bl, const char* msg)
safestrncpy((char*)WFIFOP(fd, 8), msg, msg_len);
WFIFOSET (fd, msg_len + 8);
}
+
+void send_changelook(int fd, int id, int type, int val)
+{
+ WFIFOHEAD (fd, 11);
+ WFIFOW (fd, 0) = 0x1d7;
+ WFIFOL (fd, 2) = id;
+ WFIFOB (fd, 6) = type;
+ WFIFOW (fd, 7) = val;
+ WFIFOW (fd, 9) = 0;
+ WFIFOSET (fd, 11);
+}