diff options
author | Dennis Friis <peavey@inspircd.org> | 2009-06-07 23:50:04 +0200 |
---|---|---|
committer | Dennis Friis <peavey@inspircd.org> | 2009-06-07 23:52:21 +0200 |
commit | f2c04a89d21e4a8a7e424fe49c8fea27ea6e10cb (patch) | |
tree | c9203b676b6fd20323aa26f1c0a1c581edf4fdef /src/net/ea | |
parent | 9de901049618ea4c75e9f2d2d3d118976fa62a76 (diff) | |
download | mana-f2c04a89d21e4a8a7e424fe49c8fea27ea6e10cb.tar.gz mana-f2c04a89d21e4a8a7e424fe49c8fea27ea6e10cb.tar.bz2 mana-f2c04a89d21e4a8a7e424fe49c8fea27ea6e10cb.tar.xz mana-f2c04a89d21e4a8a7e424fe49c8fea27ea6e10cb.zip |
Let athena dictate the walking speed of beings.
This seems to have the added bones of mobs no longer being so much out
of sync when you attack them. Also adds support for GM command @speed.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index c1b7cc84..58167339 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -223,9 +223,7 @@ void PlayerHandler::handleMessage(MessageIn &msg) switch (type) { - //case 0x0000: - // player_node->setWalkSpeed(msg.readInt32()); - // break; + case 0x0000: player_node->setWalkSpeed(value); break; case 0x0005: player_node->setHp(value); break; case 0x0006: player_node->setMaxHp(value); break; case 0x0007: player_node->mMp = value; break; |