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 2c7a3633..21305c01 100644
--- a/src/game-server/state.cpp
+++ b/src/game-server/state.cpp
@@ -194,6 +194,7 @@ static void informPlayer(MapComposite *map, Character *p)
MessageOut AttackMsg(GPMSG_BEING_ATTACK);
AttackMsg.writeShort(oid);
AttackMsg.writeByte(o->getDirection());
+ AttackMsg.writeByte(static_cast< Being * >(o)->getAttackType());
gameHandler->sendTo(p, AttackMsg);
}