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/client.cpp | |
parent | 6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d (diff) | |
download | mv-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.gz mv-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.bz2 mv-796f7e2c2ace55462acfa50e5085d4d048047e68.tar.xz mv-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/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 0562094c5..9431c5c55 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -91,6 +91,7 @@ #include "resources/specialdb.h" #endif #include "resources/npcdb.h" +#include "resources/petdb.h" #include "resources/resourcemanager.h" #include "utils/gettext.h" @@ -743,6 +744,7 @@ void Client::gameClear() ItemDB::unload(); MonsterDB::unload(); NPCDB::unload(); + PETDB::unload(); StatusEffect::unload(); if (Net::getLoginHandler()) @@ -1378,6 +1380,7 @@ int Client::gameExec() SpecialDB::load(); #endif NPCDB::load(); + PETDB::load(); EmoteDB::load(); StatusEffect::load(); Units::loadUnits(); |