- A few reorders and type-changes in the map_session_data structure for better memory allocation of the variables. Also fixes a size conversion warning.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9169 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-11-07 21:05:46 +00:00
parent cb53caa46a
commit 5ccc607bfe

View File

@ -766,17 +766,16 @@ struct map_session_data {
short spiritball, spiritball_old;
int spirit_timer[MAX_SKILL_LEVEL];
int die_counter;
char potion_success_counter;
int reg_num;
struct script_reg *reg;
int regstr_num;
struct script_regstr *regstr;
unsigned char potion_success_counter; //Potion successes in row counter
unsigned char mission_count; //Stores the bounty kill count for TK_MISSION
short mission_mobid; //Stores the target mob_id for TK_MISSION
short mission_count; //Stores the bounty kill count for TK_MISSION
int die_counter; //Total number of times you've died
int devotion[5]; //Stores the char IDs of chars devoted to.
int reg_num; //Number of registries (type numeric)
int regstr_num; //Number of registries (type string)
struct script_reg *reg;
struct script_regstr *regstr;
int trade_partner;
struct {