diff options
author | hemagx <hemagx2@gmail.com> | 2015-12-25 15:08:31 +0200 |
---|---|---|
committer | hemagx <hemagx2@gmail.com> | 2015-12-25 15:08:31 +0200 |
commit | 88d4e4ee9f8716e8bcdaa5c666c3aafe11c0cae2 (patch) | |
tree | 63b57de9e81dd8b6fa4f16b050218bcca3e291e7 /src/map/clif.c | |
parent | 436b3b96c868285e0f3743b92d582e104b9d4f03 (diff) | |
parent | 8d964e8c0f8bb7834428e84349450f21baf6927e (diff) | |
download | hercules-88d4e4ee9f8716e8bcdaa5c666c3aafe11c0cae2.tar.gz hercules-88d4e4ee9f8716e8bcdaa5c666c3aafe11c0cae2.tar.bz2 hercules-88d4e4ee9f8716e8bcdaa5c666c3aafe11c0cae2.tar.xz hercules-88d4e4ee9f8716e8bcdaa5c666c3aafe11c0cae2.zip |
Merge pull request #977 from dastgir/5-DressRoom
Dressroom Packet implemented
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index eac7fa91e..f954a4d79 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -18551,6 +18551,19 @@ void clif_cancelmergeitem (int fd, struct map_session_data *sd) return; } +void clif_dressroom_open(struct map_session_data *sd, int view) +{ + int fd; + + nullpo_retv(sd); + + fd = sd->fd; + WFIFOHEAD(fd,packet_len(0xa02)); + WFIFOW(fd,0)=0xa02; + WFIFOW(fd,2)=view; + WFIFOSET(fd,packet_len(0xa02)); +} + /* */ unsigned short clif_decrypt_cmd( int cmd, struct map_session_data *sd ) { if( sd ) { @@ -19606,4 +19619,5 @@ void clif_defaults(void) { /* */ clif->add_random_options = clif_add_random_options; clif->pHotkeyRowShift = clif_parse_HotkeyRowShift; + clif->dressroom_open = clif_dressroom_open; } |