summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-15 15:29:02 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-18 01:11:40 +0200
commit80e07598a896e73e08e2511f08602e2b6d2e4eb7 (patch)
tree6cb16a6104e7cda5eec6c40991e2464954ad4040 /src/common
parent9a0038a475707e9d190847f49c5e6c05ab916309 (diff)
downloadmanaserv-80e07598a896e73e08e2511f08602e2b6d2e4eb7.tar.gz
manaserv-80e07598a896e73e08e2511f08602e2b6d2e4eb7.tar.bz2
manaserv-80e07598a896e73e08e2511f08602e2b6d2e4eb7.tar.xz
manaserv-80e07598a896e73e08e2511f08602e2b6d2e4eb7.zip
Made the server send the being position each 5 seconds.
This will permit the client the make position resyncs when necessary, and make use of the MOVING_POSITION and DESTINATION where relevant. Reviewed-by: Thorbjorn.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/manaserv_protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/manaserv_protocol.h b/src/common/manaserv_protocol.h
index 96a5be1e..78497eb4 100644
--- a/src/common/manaserv_protocol.h
+++ b/src/common/manaserv_protocol.h
@@ -118,7 +118,7 @@ enum {
PGMSG_DIRECTION_CHANGE = 0x0272, // B Direction
GPMSG_BEING_DIR_CHANGE = 0x0273, // W being id, B direction
GPMSG_BEING_HEALTH_CHANGE = 0x0274, // W being id, W hp, W max hp
- GPMSG_BEINGS_MOVE = 0x0280, // { W being id, B flags [, W*2 position, B speed] }*
+ GPMSG_BEINGS_MOVE = 0x0280, // { W being id, B flags [, [W*2 position,] W*2 destination, B speed] }*
GPMSG_ITEMS = 0x0281, // { W item id, W*2 position }*
PGMSG_ATTACK = 0x0290, // W being id
GPMSG_BEING_ATTACK = 0x0291, // W being id, B direction, B attacktype