summaryrefslogtreecommitdiff
path: root/src/map/pet.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-06 21:10:52 -0200
committershennetsind <ind@henn.et>2013-11-06 21:10:52 -0200
commitaaf34515fa9d32fae10c71b5b3f615857fd7e55e (patch)
treebec3964580ead4ed1d45f7bf51b418753004f16b /src/map/pet.c
parenteaf04b9a2f0b399027df251c5d19d58d74e24e6a (diff)
parent87d7348396af97428638723ae49ca2ff166e4acd (diff)
downloadhercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.tar.gz
hercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.tar.bz2
hercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.tar.xz
hercules-aaf34515fa9d32fae10c71b5b3f615857fd7e55e.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/pet.c')
-rw-r--r--src/map/pet.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index b75cc5a44..a2695d3b0 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -1328,8 +1328,10 @@ int read_petdb()
/*==========================================
* Initialization process relationship skills
*------------------------------------------*/
-int do_init_pet(void)
-{
+int do_init_pet(bool minimal) {
+ if (minimal)
+ return 0;
+
pet->read_db();
pet->item_drop_ers = ers_new(sizeof(struct item_drop),"pet.c::item_drop_ers",ERS_OPT_NONE);