mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-28 11:56:10 +01:00
Fix most compiler warnings and fix for OSX.
This commit is contained in:
parent
a61c2c6c60
commit
eadcd45b6e
6 changed files with 15 additions and 8 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue