summaryrefslogtreecommitdiff
path: root/src/net/ea/beinghandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-18 13:39:34 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-18 14:34:12 -0600
commitcdd6fa5fe9627780a281f420c1a3f5ba5248aa72 (patch)
treed3b0ea1f1edf37bae205fbcdc7e3a1ee5a06e08e /src/net/ea/beinghandler.cpp
parent1032dcdc6cb7084db493cb5f88bd5cade17e2fdf (diff)
downloadmana-cdd6fa5fe9627780a281f420c1a3f5ba5248aa72.tar.gz
mana-cdd6fa5fe9627780a281f420c1a3f5ba5248aa72.tar.bz2
mana-cdd6fa5fe9627780a281f420c1a3f5ba5248aa72.tar.xz
mana-cdd6fa5fe9627780a281f420c1a3f5ba5248aa72.zip
Make sure every eAthena packet has a #define
Diffstat (limited to 'src/net/ea/beinghandler.cpp')
-rw-r--r--src/net/ea/beinghandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index 6ab73b4c..4b61ec61 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -65,8 +65,8 @@ BeingHandler::BeingHandler(bool enableSync):
SMSG_PLAYER_MOVE,
SMSG_PLAYER_STOP,
SMSG_PLAYER_MOVE_TO_ATTACK,
- 0x0119,
- 0x0196,
+ SMSG_PLAYER_STATUS_CHANGE,
+ SMSG_BEING_STATUS_CHANGE,
0
};
handledMessages = _messages;
@@ -574,7 +574,7 @@ void BeingHandler::handleMessage(MessageIn &msg)
*/
break;
- case 0x0119:
+ case SMSG_PLAYER_STATUS_CHANGE:
// Change in players' flags
id = msg.readInt32();
dstBeing = beingManager->findBeing(id);
@@ -590,7 +590,7 @@ void BeingHandler::handleMessage(MessageIn &msg)
}
break;
- case 0x0196:
+ case SMSG_BEING_STATUS_CHANGE:
// Status change
status = msg.readInt16();
id = msg.readInt32();