summaryrefslogtreecommitdiff
path: root/src/char/int_pet.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-16 06:08:24 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-17 01:00:22 +0300
commit0c2cf7579324ade56287b9a15f1fc7c0a8dffffd (patch)
tree2fb002974ed6652c2217ab6e5fb2d60734e364a3 /src/char/int_pet.c
parent58a8c9e6cf38e3fdb2557ec9d00169e96411f915 (diff)
downloadhercules-0c2cf7579324ade56287b9a15f1fc7c0a8dffffd.tar.gz
hercules-0c2cf7579324ade56287b9a15f1fc7c0a8dffffd.tar.bz2
hercules-0c2cf7579324ade56287b9a15f1fc7c0a8dffffd.tar.xz
hercules-0c2cf7579324ade56287b9a15f1fc7c0a8dffffd.zip
Replace item id shorts to int in char server.
Diffstat (limited to 'src/char/int_pet.c')
-rw-r--r--src/char/int_pet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/char/int_pet.c b/src/char/int_pet.c
index e824d7b58..8f87becff 100644
--- a/src/char/int_pet.c
+++ b/src/char/int_pet.c
@@ -160,8 +160,8 @@ static int inter_pet_delete(int pet_id)
return 0;
}
//------------------------------------------------------
-static struct s_pet *inter_pet_create(int account_id, int char_id, short pet_class, short pet_lv, short pet_egg_id,
- short pet_equip, short intimate, short hungry, char rename_flag, char incubate, const char *pet_name)
+static struct s_pet *inter_pet_create(int account_id, int char_id, short pet_class, short pet_lv, int pet_egg_id,
+ int pet_equip, short intimate, short hungry, char rename_flag, char incubate, const char *pet_name)
{
nullpo_ret(pet_name);
memset(inter_pet->pt, 0, sizeof(struct s_pet));