diff options
| author | Philipp Sehmisch <tmw@crushnet.org> | 2008-01-24 14:59:05 +0000 |
|---|---|---|
| committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-01-24 14:59:05 +0000 |
| commit | 2dd95f1b69e9b024d8877dd400a141ccdf1c153f (patch) | |
| tree | c2f9131d191298b15e3b643698be8ba871e1d025 /src/game-server/state.cpp | |
| parent | ff6dc70fc1a23562fbaf675ba252f7710451e417 (diff) | |
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).
Diffstat (limited to 'src/game-server/state.cpp')
| -rw-r--r-- | src/game-server/state.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game-server/state.cpp b/src/game-server/state.cpp index 2f68d6b..2c7a363 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); } |
