summaryrefslogtreecommitdiff
path: root/src/game-server/state.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-25 20:26:46 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-07-25 20:26:46 +0000
commit7354937c4b452a2c413f0827d6f381e125e6a687 (patch)
tree84792355a26f5b4c38996b16c12df090fa8f8926 /src/game-server/state.cpp
parent6ba73b56b72bf53d4976fd1423490e682542b6d2 (diff)
downloadmanaserv-7354937c4b452a2c413f0827d6f381e125e6a687.tar.gz
manaserv-7354937c4b452a2c413f0827d6f381e125e6a687.tar.bz2
manaserv-7354937c4b452a2c413f0827d6f381e125e6a687.tar.xz
manaserv-7354937c4b452a2c413f0827d6f381e125e6a687.zip
Added being speed to protocol.
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 bcb93962..fa51972c 100644
--- a/src/game-server/state.cpp
+++ b/src/game-server/state.cpp
@@ -308,6 +308,7 @@ static void informPlayer(MapComposite *map, Character *p)
if (flags & MOVING_POSITION)
{
moveMsg.writeCoordinates(opos.x / 32, opos.y / 32);
+ moveMsg.writeByte(o->getSpeed() / 10);
}
if (flags & MOVING_DESTINATION)
{