summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-02-15 09:05:16 +0100
committerHaru <haru@dotalux.com>2020-04-05 21:20:35 +0200
commitf6b8fe728b4f0cf97da9fea8935c186893868c4d (patch)
treeabde95c1af461159900f8cc91158da76c35491c6 /src/map/atcommand.c
parent70edf6f2d4f042b470cb1f62e408c076f5c8d76b (diff)
downloadhercules-f6b8fe728b4f0cf97da9fea8935c186893868c4d.tar.gz
hercules-f6b8fe728b4f0cf97da9fea8935c186893868c4d.tar.bz2
hercules-f6b8fe728b4f0cf97da9fea8935c186893868c4d.tar.xz
hercules-f6b8fe728b4f0cf97da9fea8935c186893868c4d.zip
Add pet_set_hunger() function
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.