summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 96093ffec..c84f14785 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -2861,7 +2861,7 @@ ACMD(pethungry)
return false;
}
- pd->pet.hungry = hungry;
+ pet->set_hunger(pd, hungry);
clif->send_petstatus(sd);
clif->message(fd, msg_fd(fd,185)); // Pet hunger changed.