From 9ed6e5e369b2ad7111f815c89a8dc251b62b30de Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Tue, 7 Aug 2012 21:17:29 +0000 Subject: [PATCH] rogue3, rogue4: fix log message formatting for wins. --- rogue3/rip.c | 2 +- rogue4/rip.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rogue3/rip.c b/rogue3/rip.c index 0fe47d7..4d1628a 100644 --- a/rogue3/rip.c +++ b/rogue3/rip.c @@ -344,7 +344,7 @@ void writelog(int amount, int flags, int monst) } else if (flags == 2) /* won */ { - sprintf(ltemp, "escaped with the Amulet [deepest level :%d]\n", + sprintf(ltemp, "escaped with the Amulet [deepest level: %d]\n", max_level); strcat(logmessage, ltemp); } diff --git a/rogue4/rip.c b/rogue4/rip.c index 940b300..be02238 100644 --- a/rogue4/rip.c +++ b/rogue4/rip.c @@ -276,7 +276,7 @@ void writelog(int amount, int flags, char monst) } else if (flags == 2) /* won */ { - sprintf(ltemp, "escaped with the Amulet [deepest level :%d]\n", + sprintf(ltemp, "escaped with the Amulet [deepest level: %d]\n", max_level); strcat(logmessage, ltemp); }