From 3514f4405c2a822be2350fed27fe2d15cad7152c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Feb 2019 07:18:05 +0300 Subject: Change type for class variables from short to int --- src/map/atcommand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 0a1fd6da3..87be6ab1b 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2718,7 +2718,7 @@ ACMD(makeegg) sd->catch_target_class = pet->db[pet_id].class_; 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, + 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); } else { -- cgit v1.2.3-60-g2f50