summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-02-05 07:18:05 +0300
committerAndrei Karas <akaras@inbox.ru>2019-02-11 03:22:45 +0300
commit3514f4405c2a822be2350fed27fe2d15cad7152c (patch)
tree03bea033e3579d5245e773b82e903c6345b1b4fa /src/map/atcommand.c
parent8c04536cf64dd3a7c233d9631eceb23f7207ad9c (diff)
downloadhercules-3514f4405c2a822be2350fed27fe2d15cad7152c.tar.gz
hercules-3514f4405c2a822be2350fed27fe2d15cad7152c.tar.bz2
hercules-3514f4405c2a822be2350fed27fe2d15cad7152c.tar.xz
hercules-3514f4405c2a822be2350fed27fe2d15cad7152c.zip
Change type for class variables from short to int
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 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 {