diff options
Diffstat (limited to 'src/map/send.c')
-rw-r--r-- | src/map/send.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/send.c b/src/map/send.c index 029df93..0e281b6 100644 --- a/src/map/send.c +++ b/src/map/send.c @@ -183,3 +183,12 @@ void send_changenpc_title (struct map_session_data *sd, const int npcId, const c strcpy (WFIFOP (fd, 10), name); WFIFOSET (fd, sz); } + +void send_join_ack(int fd, const char *const name, int flag) +{ + WFIFOHEAD (fd, 27); + WFIFOW (fd, 0) = 0xb08; + safestrncpy (WFIFOP (fd, 2), name, 24); + WFIFOB (fd, 26) = flag; + WFIFOSET (fd, 27); +} |