summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-06-30 15:07:03 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2007-06-30 15:07:03 +0000
commit8d74404ce57618922b42913d94709f9c49d65d5d (patch)
tree1ae94ab46e7acac194102116d5a1b756927d606e /src/net
parent029d6efeee63ed3e0964c6759d29e885d0877135 (diff)
downloadmana-8d74404ce57618922b42913d94709f9c49d65d5d.tar.gz
mana-8d74404ce57618922b42913d94709f9c49d65d5d.tar.bz2
mana-8d74404ce57618922b42913d94709f9c49d65d5d.tar.xz
mana-8d74404ce57618922b42913d94709f9c49d65d5d.zip
Changed include order to avoid a problem with guichan on windows. Implemented getting the direction of attacks from the server.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/beinghandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp
index f82a0fa8..e88914ac 100644
--- a/src/net/beinghandler.cpp
+++ b/src/net/beinghandler.cpp
@@ -523,6 +523,7 @@ void BeingHandler::handleBeingAttackMessage(MessageIn &msg)
if (!being) return;
being->setAction(Being::ATTACK);
+ being->setDirection(msg.readByte());
}
void BeingHandler::handleBeingsDamageMessage(MessageIn &msg)