From 9aa109f1e404c60cf94832f95c82b7056916d14a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 23 Nov 2014 11:43:12 +0300 Subject: map: show most slots to other players on warp or enter visible area. --- src/map/send.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/map/send.c') 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); +} -- cgit v1.2.3-70-g09d2