diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-02-15 09:05:16 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2020-04-05 21:20:35 +0200 |
commit | f6b8fe728b4f0cf97da9fea8935c186893868c4d (patch) | |
tree | abde95c1af461159900f8cc91158da76c35491c6 /src/map/atcommand.c | |
parent | 70edf6f2d4f042b470cb1f62e408c076f5c8d76b (diff) | |
download | hercules-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.c | 2 |
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. |