summaryrefslogtreecommitdiff
path: root/src/net/manaserv/manaserv_protocol.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-01-09 12:14:21 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-01-09 12:14:21 +0100
commit59a01fcf92ce43caf6b385659deddfa49c086ee8 (patch)
tree96060e18caf57f146fd38176f49d0e456ad06944 /src/net/manaserv/manaserv_protocol.h
parentf704b49c5972a9e40aa1f7dbe6f34a3ab7830c8d (diff)
downloadmana-59a01fcf92ce43caf6b385659deddfa49c086ee8.tar.gz
mana-59a01fcf92ce43caf6b385659deddfa49c086ee8.tar.bz2
mana-59a01fcf92ce43caf6b385659deddfa49c086ee8.tar.xz
mana-59a01fcf92ce43caf6b385659deddfa49c086ee8.zip
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
Diffstat (limited to 'src/net/manaserv/manaserv_protocol.h')
-rw-r--r--src/net/manaserv/manaserv_protocol.h10
1 files changed, 5 insertions, 5 deletions
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
};
/**