summaryrefslogtreecommitdiff
path: root/src/common/mmo.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/common/mmo.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/common/mmo.h')
-rw-r--r--src/common/mmo.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index c29da580c..3a0f73520 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -590,7 +590,7 @@ struct s_pet {
int account_id;
int char_id;
int pet_id;
- short class_;
+ int class_;
short level;
int egg_id;//pet egg id
int equip;//pet equip name_id
@@ -606,8 +606,8 @@ struct s_homunculus { //[orn]
char name[NAME_LENGTH];
int hom_id;
int char_id;
- short class_;
- short prev_class;
+ int class_;
+ int prev_class;
int hp,max_hp,sp,max_sp;
unsigned int intimacy;
short hunger;
@@ -638,7 +638,7 @@ struct s_homunculus { //[orn]
struct s_mercenary {
int mercenary_id;
int char_id;
- short class_;
+ int class_;
int hp, sp;
unsigned int kill_count;
unsigned int life_time;
@@ -647,7 +647,7 @@ struct s_mercenary {
struct s_elemental {
int elemental_id;
int char_id;
- short class_;
+ int class_;
uint32 mode;
int hp, sp, max_hp, max_sp, matk, atk, atk2;
short hit, flee, amotion, def, mdef;
@@ -690,7 +690,7 @@ struct mmo_charstatus {
int zeny;
int bank_vault;
- int16 class;
+ int class;
int status_point, skill_point;
int hp,max_hp,sp,max_sp;
unsigned int option;
@@ -805,7 +805,7 @@ struct party_member {
int account_id;
int char_id;
char name[NAME_LENGTH];
- int16 class;
+ int class;
unsigned short map;
unsigned short lv;
unsigned leader : 1,
@@ -825,7 +825,7 @@ struct map_session_data;
struct guild_member {
int account_id, char_id;
short hair,hair_color,gender;
- int16 class;
+ int class;
short lv;
uint64 exp;
int exp_payper;