diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-14 20:09:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-14 23:35:07 +0300 |
commit | 796f7e2c2ace55462acfa50e5085d4d048047e68 (patch) | |
tree | 878c6f36f001774047cc26fa7fb68f474920bbf0 /src/net/ea | |
parent | 6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d (diff) | |
download | manaverse-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.cpp | 1 |
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(); } |