diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-20 00:16:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-20 00:16:20 +0300 |
commit | c90ec19afcfc826a077ed300fc2a9f8347d9b1e6 (patch) | |
tree | 3fa00022e89b3d92a64da4afa94e7bb503f7dcd5 /src/map/parse.c | |
parent | e38b7606911d4763bd24dfa627f9ec6a7c1971d0 (diff) | |
download | plugin-c90ec19afcfc826a077ed300fc2a9f8347d9b1e6.tar.gz plugin-c90ec19afcfc826a077ed300fc2a9f8347d9b1e6.tar.bz2 plugin-c90ec19afcfc826a077ed300fc2a9f8347d9b1e6.tar.xz plugin-c90ec19afcfc826a077ed300fc2a9f8347d9b1e6.zip |
add packet to get state from client.
Diffstat (limited to 'src/map/parse.c')
-rw-r--r-- | src/map/parse.c | 6 |
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); +} |