From ab5d57406c3da7b07cd17fc465db5fc9acbccb32 Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Mon, 16 Nov 2009 23:54:24 +0000 Subject: [PATCH] Record experience level in the logfile too --- rogue3/rip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rogue3/rip.c b/rogue3/rip.c index e8d5534..1d1865c 100644 --- a/rogue3/rip.c +++ b/rogue3/rip.c @@ -314,7 +314,8 @@ void writelog(int amount, int flags, int monst) 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");