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/game.cpp | |
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/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 9a6f3b006..758e26064 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -435,6 +435,9 @@ Game::Game(): if (guildManager && GuildManager::getEnableGuildBot()) guildManager->requestGuildInfo(); + + if (player_node) + player_node->updatePets(); } Game::~Game() |