Record experience level in the logfile too
This commit is contained in:
parent
777682dba6
commit
ab5d57406c
1 changed files with 2 additions and 1 deletions
|
|
@ -314,7 +314,8 @@ void writelog(int amount, int flags, int monst)
|
||||||
if (waswizard)
|
if (waswizard)
|
||||||
return;
|
return;
|
||||||
#ifdef LOGFILE
|
#ifdef LOGFILE
|
||||||
sprintf(logmessage, "%d %d %.20s ", time(NULL), amount, whoami);
|
sprintf(logmessage, "%d %d %.20s %d ", time(NULL), amount, whoami,
|
||||||
|
pstats.s_lvl);
|
||||||
if (flags == 0) /* died */
|
if (flags == 0) /* died */
|
||||||
{
|
{
|
||||||
strcat(logmessage, "killed by a");
|
strcat(logmessage, "killed by a");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue