summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 379405833..3b4334275 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -2855,7 +2855,7 @@ ACMD(pethungry)
}
if (hungry != pd->pet.hungry) { // No need to update the pet's status if hunger value won't change.
- pd->pet.hungry = hungry;
+ pet->set_hunger(pd, hungry);
clif->send_petstatus(sd);
}