Making sure we don't pass a negative key to an array
This commit is contained in:
@@ -105,7 +105,7 @@ struct outdoor_record_type
|
|||||||
location special_locs[18];
|
location special_locs[18];
|
||||||
unsigned char special_id[18];
|
unsigned char special_id[18];
|
||||||
location exit_locs[8];
|
location exit_locs[8];
|
||||||
char exit_dests[8];
|
unsigned char exit_dests[8];
|
||||||
location sign_locs[8];
|
location sign_locs[8];
|
||||||
out_wandering_type wandering[4],special_enc[4];
|
out_wandering_type wandering[4],special_enc[4];
|
||||||
location wandering_locs[4];
|
location wandering_locs[4];
|
||||||
@@ -124,7 +124,7 @@ typedef struct {
|
|||||||
unsigned char time_flag;
|
unsigned char time_flag;
|
||||||
unsigned char extra1,extra2;
|
unsigned char extra1,extra2;
|
||||||
short spec1, spec2;
|
short spec1, spec2;
|
||||||
char spec_enc_code, time_code;
|
unsigned char spec_enc_code, time_code;
|
||||||
short monster_time,personality;
|
short monster_time,personality;
|
||||||
short special_on_kill,facial_pic;
|
short special_on_kill,facial_pic;
|
||||||
} creature_start_type;
|
} creature_start_type;
|
||||||
|
Reference in New Issue
Block a user