summaryrefslogtreecommitdiff
path: root/src/map/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/parse.c')
-rw-r--r--src/map/parse.c6
1 files changed, 6 insertions, 0 deletions
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);
+}