summaryrefslogtreecommitdiff
path: root/src/map/send.c
diff options
context:
space:
mode:
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);
+}