summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-02-13 08:15:39 +0100
committerHaru <haru@dotalux.com>2020-04-05 21:20:35 +0200
commit554e54afebf3eed9d6293a7891c66320af2586a0 (patch)
tree8da18e38a2b2860c8215ae0d4ba67ac58ab44b39 /src/map/clif.c
parentb996ad73974b282a15db217fcbac5f284be3fdd5 (diff)
downloadhercules-554e54afebf3eed9d6293a7891c66320af2586a0.tar.gz
hercules-554e54afebf3eed9d6293a7891c66320af2586a0.tar.bz2
hercules-554e54afebf3eed9d6293a7891c66320af2586a0.tar.xz
hercules-554e54afebf3eed9d6293a7891c66320af2586a0.zip
Add enum for pet hunger levels and use its constants
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 83f5751ba..14f5557eb 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -15292,7 +15292,7 @@ static void clif_parse_pet_evolution(int fd, struct map_session_data *sd)
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);
clif->petEvolutionResult(fd, PET_EVOL_SUCCESS);
} else {
clif->petEvolutionResult(fd, PET_EVOL_UNKNOWN);