diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-02-05 07:18:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-02-11 03:22:45 +0300 |
commit | 3514f4405c2a822be2350fed27fe2d15cad7152c (patch) | |
tree | 03bea033e3579d5245e773b82e903c6345b1b4fa /src/map/script.c | |
parent | 8c04536cf64dd3a7c233d9631eceb23f7207ad9c (diff) | |
download | hercules-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/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 76d15d8f1..7578fcdcc 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10733,7 +10733,7 @@ static BUILDIN(makepet) if (pet_id >= 0 && sd) { 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); } |