From 2dd95f1b69e9b024d8877dd400a141ccdf1c153f Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Thu, 24 Jan 2008 14:59:05 +0000 Subject: The direction of attacking beings is now transmitted together with attack messages (has already been implemented on the client-side but the server-sided part has been forgotten somehow). --- src/game-server/state.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/game-server') diff --git a/src/game-server/state.cpp b/src/game-server/state.cpp index 2f68d6ba..2c7a3633 100644 --- a/src/game-server/state.cpp +++ b/src/game-server/state.cpp @@ -193,6 +193,7 @@ static void informPlayer(MapComposite *map, Character *p) { MessageOut AttackMsg(GPMSG_BEING_ATTACK); AttackMsg.writeShort(oid); + AttackMsg.writeByte(o->getDirection()); gameHandler->sendTo(p, AttackMsg); } -- cgit v1.2.3-60-g2f50