diff options
author | Haru <haru@dotalux.com> | 2019-04-07 20:52:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-07 20:52:14 +0200 |
commit | 9230404b22d755cf90524e1f67cceaa754da22de (patch) | |
tree | fd657eeabf064de8318a3c76cfb5efef8be65ff1 | |
parent | dd83aabd6f4d95183371e98689c3456e0456fef7 (diff) | |
parent | ee3fc5179550fe6fe5efd7c02d92dfb9ff9c035d (diff) | |
download | hercules-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.c | 2 |
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); } |