mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-23 10:40:13 +01:00
Update objsave.c
This commit is contained in:
parent
08c3c98011
commit
4efecf77c1
1 changed files with 3 additions and 2 deletions
|
|
@ -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));
|
mudlog(NRM, MAX(LVL_IMMORT, GET_INVIS_LEV(ch)), TRUE, "%s entering game with no equipment.", GET_NAME(ch));
|
||||||
return 1;
|
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));
|
mudlog(NRM, MAX(LVL_IMMORT, GET_INVIS_LEV(ch)), TRUE, "Failed to read player's rent code: %s.", GET_NAME(ch));
|
||||||
else
|
else
|
||||||
sscanf(line,"%d %d %d %d %d %d",&rentcode, &timed, &netcost,&gold,&account,&nitems);
|
sscanf(line,"%d %d %d %d %d %d",&rentcode, &timed, &netcost,&gold,&account,&nitems);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue