From c90ec19afcfc826a077ed300fc2a9f8347d9b1e6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 20 Feb 2015 00:16:20 +0300 Subject: add packet to get state from client. --- src/map/parse.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/map/parse.c') diff --git a/src/map/parse.c b/src/map/parse.c index bf3f296..7044197 100644 --- a/src/map/parse.c +++ b/src/map/parse.c @@ -124,3 +124,9 @@ void map_parse_pet_emote(int fd) sd->emotionlasttime = t; send_pet_emote(sd, RFIFOB(fd, 2)); } + +void map_parse_set_status(int fd) +{ + struct SessionExt *data = session_get(fd); + data->state = RFIFOB(fd, 2); +} -- cgit v1.2.3-60-g2f50