summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-14 20:09:22 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-14 23:35:07 +0300
commit796f7e2c2ace55462acfa50e5085d4d048047e68 (patch)
tree878c6f36f001774047cc26fa7fb68f474920bbf0 /src/net/ea
parent6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d (diff)
downloadmanaverse-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.gz
manaverse-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.bz2
manaverse-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.xz
manaverse-796f7e2c2ace55462acfa50e5085d4d048047e68.zip
add basic client side only support for pets.
now pets cant move and dont have any ai. pet can be only spawn at player position if equiped item with assigned pet.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/playerhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index ed49b7ae5..e7b6c69b2 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -242,6 +242,7 @@ void PlayerHandler::processPlayerWarp(Net::MessageIn &msg) const
player_node->setAction(Being::STAND);
player_node->setTileCoords(x, y);
+ player_node->updatePets();
player_node->navigateClean();
}