Fix most compiler warnings and fix for OSX.

This commit is contained in:
Zach Langley 2014-11-07 20:13:36 -08:00
parent a61c2c6c60
commit eadcd45b6e
6 changed files with 15 additions and 8 deletions

View file

@ -1184,7 +1184,8 @@ static int Crash_load_objs(struct char_data *ch) {
int i, num_of_days, orig_rent_code, num_objs=0;
unsigned long cost;
struct obj_data *cont_row[MAX_BAG_ROWS];
int rentcode,timed,netcost,gold,account,nitems;
int rentcode = RENT_UNDEF;
int timed,netcost,gold,account,nitems;
obj_save_data *loaded, *current;
if (!get_filename(filename, sizeof(filename), CRASH_FILE, GET_NAME(ch)))