From 59a01fcf92ce43caf6b385659deddfa49c086ee8 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sun, 9 Jan 2011 12:14:21 +0100 Subject: Fix other direction discrepancies on the client. This fix the change dir (with alt key), attacks directions, and the direction of a being standing when you come in its range. Reviewed-by: Jaxad. Resolves: Mana-mantis #257 --- src/net/manaserv/manaserv_protocol.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/net/manaserv/manaserv_protocol.h') diff --git a/src/net/manaserv/manaserv_protocol.h b/src/net/manaserv/manaserv_protocol.h index 1dbe38f8..577320b6 100644 --- a/src/net/manaserv/manaserv_protocol.h +++ b/src/net/manaserv/manaserv_protocol.h @@ -103,7 +103,7 @@ enum { PGMSG_LOWER_ATTRIBUTE = 0x0170, // W attribute GPMSG_LOWER_ATTRIBUTE_RESPONSE = 0x0171, // B error, W attribute PGMSG_RESPAWN = 0x0180, // - - GPMSG_BEING_ENTER = 0x0200, // B type, W being id, B action, W*2 position + GPMSG_BEING_ENTER = 0x0200, // B type, W being id, B action, W*2 position, B direction // character: S name, B hair style, B hair color, B gender, B item bitmask, { W item id }* // monster: W type id // npc: W type id @@ -415,10 +415,10 @@ enum AttackType */ enum BeingDirection { - DIRECTION_UP = 1, - DIRECTION_DOWN, - DIRECTION_LEFT, - DIRECTION_RIGHT + DOWN = 1, + LEFT = 2, + UP = 4, + RIGHT = 8 }; /** -- cgit v1.2.3-70-g09d2