From 8d74404ce57618922b42913d94709f9c49d65d5d Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Sat, 30 Jun 2007 15:07:03 +0000 Subject: Changed include order to avoid a problem with guichan on windows. Implemented getting the direction of attacks from the server. --- src/net/beinghandler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net') 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) -- cgit v1.2.3-70-g09d2