summaryrefslogtreecommitdiff
path: root/src/game-server/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/state.cpp')
-rw-r--r--src/game-server/state.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}