diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-28 17:07:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-28 17:07:33 +0300 |
commit | 2cfa0d17583869b7a2fb6e558b160e46389f5599 (patch) | |
tree | f47e37d1c955365f9173ab53a1e9602e29903096 /src/net | |
parent | 4e7669dd6e07658fa86878d1e64c482a094b3b19 (diff) | |
download | mv-2cfa0d17583869b7a2fb6e558b160e46389f5599.tar.gz mv-2cfa0d17583869b7a2fb6e558b160e46389f5599.tar.bz2 mv-2cfa0d17583869b7a2fb6e558b160e46389f5599.tar.xz mv-2cfa0d17583869b7a2fb6e558b160e46389f5599.zip |
Impliment actual move actions from pet commands.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/pethandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/pethandler.cpp b/src/net/tmwa/pethandler.cpp index eba2f4093..0156ef7c2 100644 --- a/src/net/tmwa/pethandler.cpp +++ b/src/net/tmwa/pethandler.cpp @@ -52,8 +52,9 @@ void PetHandler::handleMessage(Net::MessageIn &msg A_UNUSED) } void PetHandler::move(const int petId A_UNUSED, - const int x A_UNUSED, const int y A_UNUSED) const + const int x, const int y) const { + chatHandler->talk(strprintf("\302\202\302m%d %d", x, y), GENERAL_CHANNEL); } void PetHandler::spawn(const Being *const being A_UNUSED, |