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/client.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client.cpp') 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(); -- cgit v1.2.3-60-g2f50