From 2cfa0d17583869b7a2fb6e558b160e46389f5599 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Dec 2014 17:07:33 +0300 Subject: Impliment actual move actions from pet commands. --- src/net/tmwa/pethandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/net') 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, -- cgit v1.2.3-70-g09d2