Skip to content

Commit 9230404

Browse files
Merge pull request #2417 from AnnieRuru/77-feature_enable_pet_autofeed
fix pet autofeed feature
2 parents dd83aab + ee3fc51 commit 9230404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/map/pet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ static int pet_hungry(int tid, int64 tick, int id, intptr_t data)
251251

252252
pd->pet.hungry--;
253253
/* Pet Autofeed */
254-
if (battle_config.feature_enable_homun_autofeed != 0) {
254+
if (battle_config.feature_enable_pet_autofeed != 0) {
255255
if (pd->petDB->autofeed == 1 && pd->pet.autofeed == 1 && pd->pet.hungry <= 25) {
256256
pet->food(sd, pd);
257257
}

0 commit comments

Comments
 (0)