Mercurial > hg > early-roguelike
changeset 62:0ef99244acb8
rogue3, rogue4: fix log message formatting for wins.
author | elwin |
---|---|
date | Tue, 07 Aug 2012 21:17:29 +0000 |
parents | 47aeaccbb953 |
children | 0ed67132cf10 |
files | rogue3/rip.c rogue4/rip.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rogue3/rip.c Thu May 24 05:10:38 2012 +0000 +++ b/rogue3/rip.c Tue Aug 07 21:17:29 2012 +0000 @@ -344,7 +344,7 @@ } 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); }
--- a/rogue4/rip.c Thu May 24 05:10:38 2012 +0000 +++ b/rogue4/rip.c Tue Aug 07 21:17:29 2012 +0000 @@ -276,7 +276,7 @@ } 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); }