summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnnieRuru <jeankofannie2@gmail.com>2019-03-31 19:44:04 +0800
committerAnnieRuru <jeankofannie2@gmail.com>2019-03-31 19:44:04 +0800
commitee3fc5179550fe6fe5efd7c02d92dfb9ff9c035d (patch)
treeb7be81043f214cf600038c6828f88b941f2c1ea1 /src
parente1e951c805916853e55ff5b9ce0531e0cf483ebf (diff)
downloadhercules-ee3fc5179550fe6fe5efd7c02d92dfb9ff9c035d.tar.gz
hercules-ee3fc5179550fe6fe5efd7c02d92dfb9ff9c035d.tar.bz2
hercules-ee3fc5179550fe6fe5efd7c02d92dfb9ff9c035d.tar.xz
hercules-ee3fc5179550fe6fe5efd7c02d92dfb9ff9c035d.zip
fix pet autofeed feature
Diffstat (limited to 'src')
-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);
}