From 796f7e2c2ace55462acfa50e5085d4d048047e68 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Apr 2013 20:09:22 +0300 Subject: 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. --- src/game.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game.cpp') 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() -- cgit v1.2.3-60-g2f50