summaryrefslogtreecommitdiff
path: root/src/map/pet.h
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/pet.h
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/pet.h')
-rw-r--r--src/map/pet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pet.h b/src/map/pet.h
index 049816804..2508a70a6 100644
--- a/src/map/pet.h
+++ b/src/map/pet.h
@@ -37,7 +37,7 @@ struct pet_evolve_data {
};
struct s_pet_db {
- short class_;
+ int class_;
char name[NAME_LENGTH],jname[NAME_LENGTH];
int itemID;
int EggID;
@@ -160,7 +160,7 @@ struct pet_interface {
int (*select_egg) (struct map_session_data *sd, int egg_index);
int (*catch_process1) (struct map_session_data *sd, int target_class);
int (*catch_process2) (struct map_session_data *sd, int target_id);
- bool (*get_egg) (int account_id, short pet_class, int pet_id );
+ bool (*get_egg) (int account_id, int pet_class, int pet_id );
int (*unequipitem) (struct map_session_data *sd, struct pet_data *pd);
int (*food) (struct map_session_data *sd, struct pet_data *pd);
int (*ai_sub_hard_lootsearch) (struct block_list *bl, va_list ap);