summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-06-07 19:39:37 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-06-17 14:27:48 +0200
commit5d3104147fd5c3392751b3c3e5cd9644a83335a7 (patch)
treeae807d002d1c521257ebca6a5dcfd37700dedd25 /src/common
parent9c153b3b928166f33bc539611eee004cb0aab259 (diff)
downloadmanaserv-5d3104147fd5c3392751b3c3e5cd9644a83335a7.tar.gz
manaserv-5d3104147fd5c3392751b3c3e5cd9644a83335a7.tar.bz2
manaserv-5d3104147fd5c3392751b3c3e5cd9644a83335a7.tar.xz
manaserv-5d3104147fd5c3392751b3c3e5cd9644a83335a7.zip
Changed the attack message to send the attack id.
This is more precise than sending the attack type, that can be guessed by the client anyway when the type parameter will be added in the <attack> tag. This is the server part of Mana issue: #363. Reviewed-by: Bjorn.
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 c758fd45..daccd666 100644
--- a/src/common/manaserv_protocol.h
+++ b/src/common/manaserv_protocol.h
@@ -121,7 +121,7 @@ enum {
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
+ GPMSG_BEING_ATTACK = 0x0291, // W being id, B direction, B attack Id
PGMSG_USE_SPECIAL = 0x0292, // B specialID
GPMSG_SPECIAL_STATUS = 0x0293, // { B specialID, D current, D max, D recharge }
PGMSG_SAY = 0x02A0, // S text