Mercurial > hg > early-roguelike
diff rogue3/rip.c @ 22:63dcd855bc8e
Record experience level in the logfile too
author | edwarj4 |
---|---|
date | Mon, 16 Nov 2009 23:54:24 +0000 |
parents | 8bd134f676be |
children | 24e6beb9e7aa |
line wrap: on
line diff
--- a/rogue3/rip.c Thu Nov 12 12:53:29 2009 +0000 +++ b/rogue3/rip.c Mon Nov 16 23:54:24 2009 +0000 @@ -314,7 +314,8 @@ if (waswizard) return; #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 */ { strcat(logmessage, "killed by a");