Fix an assortment of compiler warnings.
A few potential bugs were removed in the process. Much code cleanup remains to be done.
This commit is contained in:
parent
de95b19cee
commit
7d459d7d36
47 changed files with 608 additions and 591 deletions
|
|
@ -408,8 +408,8 @@ writelog(long amount, int lvl, int flags, int monst)
|
|||
}
|
||||
else
|
||||
return;
|
||||
fprintf(file_log, "%d %d %s %d %s %d %d %d %s\n", time(NULL), amount,
|
||||
whoami, lvl, which_class(player.t_ctype), level, max_level,
|
||||
fprintf(file_log, "%ld %ld %s %d %s %d %d %d %s\n", time(NULL), amount,
|
||||
whoami, lvl, which_class(player.t_ctype), level, max_level,
|
||||
has_artifact, fate);
|
||||
fclose(file_log);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue