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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index d3368c3b0..9fc552f5f 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -2774,7 +2774,7 @@ ACMD(makeegg)
sd->status.account_id, sd->status.char_id,
pet->db[pet_id].class_, mob->db(pet->db[pet_id].class_)->lv,
pet->db[pet_id].EggID, 0, (short)pet->db[pet_id].intimate,
- 100, 0, 1, pet->db[pet_id].jname);
+ PET_HUNGER_STUFFED, 0, 1, pet->db[pet_id].jname);
} else {
clif->message(fd, msg_fd(fd,180)); // The monster/egg name/id doesn't exist.
return false;
@@ -2852,7 +2852,7 @@ ACMD(pethungry)
clif->message(fd, msg_fd(fd,184)); // Sorry, but you have no pet.
return false;
}
- if (hungry < 0 || hungry > 100) {
+ if (hungry < PET_HUNGER_STARVING || hungry > PET_HUNGER_STUFFED) {
clif->message(fd, msg_fd(fd,37)); // An invalid number was specified.
return false;
}