summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-16 22:01:39 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-19 21:53:39 +0300
commit0bafc4b2f9d9cd01596f28862e6c105af666ec30 (patch)
tree42a84306edd8a38b12380bd97d36165af25cd556 /src/map/atcommand.c
parent0c2cf7579324ade56287b9a15f1fc7c0a8dffffd (diff)
downloadhercules-0bafc4b2f9d9cd01596f28862e6c105af666ec30.tar.gz
hercules-0bafc4b2f9d9cd01596f28862e6c105af666ec30.tar.bz2
hercules-0bafc4b2f9d9cd01596f28862e6c105af666ec30.tar.xz
hercules-0bafc4b2f9d9cd01596f28862e6c105af666ec30.zip
Replace item id shorts to int in map server.
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 2d17f7ae7..79bd92213 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -2665,7 +2665,7 @@ ACMD(makeegg)
intif->create_pet(
sd->status.account_id, sd->status.char_id,
(short)pet->db[pet_id].class_, (short)mob->db(pet->db[pet_id].class_)->lv,
- (short)pet->db[pet_id].EggID, 0, (short)pet->db[pet_id].intimate,
+ pet->db[pet_id].EggID, 0, (short)pet->db[pet_id].intimate,
100, 0, 1, pet->db[pet_id].jname);
} else {
clif->message(fd, msg_fd(fd,180)); // The monster/egg name/id doesn't exist.