Update objsave.c

This commit is contained in:
Rumble 2013-12-30 20:31:04 -05:00
parent 08c3c98011
commit 4efecf77c1

View file

@ -1204,7 +1204,8 @@ static int Crash_load_objs(struct char_data *ch) {
mudlog(NRM, MAX(LVL_IMMORT, GET_INVIS_LEV(ch)), TRUE, "%s entering game with no equipment.", GET_NAME(ch));
return 1;
}
if (get_line(fl, line))
if (!get_line(fl, line))
mudlog(NRM, MAX(LVL_IMMORT, GET_INVIS_LEV(ch)), TRUE, "Failed to read player's rent code: %s.", GET_NAME(ch));
else
sscanf(line,"%d %d %d %d %d %d",&rentcode, &timed, &netcost,&gold,&account,&nitems);