summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-04-07 20:52:14 +0200
committerGitHub <noreply@github.com>2019-04-07 20:52:14 +0200
commit9230404b22d755cf90524e1f67cceaa754da22de (patch)
treefd657eeabf064de8318a3c76cfb5efef8be65ff1
parentdd83aabd6f4d95183371e98689c3456e0456fef7 (diff)
parentee3fc5179550fe6fe5efd7c02d92dfb9ff9c035d (diff)
downloadhercules-9230404b22d755cf90524e1f67cceaa754da22de.tar.gz
hercules-9230404b22d755cf90524e1f67cceaa754da22de.tar.bz2
hercules-9230404b22d755cf90524e1f67cceaa754da22de.tar.xz
hercules-9230404b22d755cf90524e1f67cceaa754da22de.zip
Merge pull request #2417 from AnnieRuru/77-feature_enable_pet_autofeed
fix pet autofeed feature
-rw-r--r--src/map/pet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pet.c b/src/map/pet.c
index c9603a76c..e2e4c4690 100644
--- a/src/map/pet.c
+++ b/src/map/pet.c
@@ -251,7 +251,7 @@ static int pet_hungry(int tid, int64 tick, int id, intptr_t data)
pd->pet.hungry--;
/* Pet Autofeed */
- if (battle_config.feature_enable_homun_autofeed != 0) {
+ if (battle_config.feature_enable_pet_autofeed != 0) {
if (pd->petDB->autofeed == 1 && pd->pet.autofeed == 1 && pd->pet.hungry <= 25) {
pet->food(sd, pd);
}