Mercurial > hg > early-roguelike
comparison rogue3/rip.c @ 62:0ef99244acb8
rogue3, rogue4: fix log message formatting for wins.
author | elwin |
---|---|
date | Tue, 07 Aug 2012 21:17:29 +0000 |
parents | 24e6beb9e7aa |
children | ee250e3646fd |
comparison
equal
deleted
inserted
replaced
61:47aeaccbb953 | 62:0ef99244acb8 |
---|---|
342 sprintf(ltemp, "quit on level %d\n", level); | 342 sprintf(ltemp, "quit on level %d\n", level); |
343 strcat(logmessage, ltemp); | 343 strcat(logmessage, ltemp); |
344 } | 344 } |
345 else if (flags == 2) /* won */ | 345 else if (flags == 2) /* won */ |
346 { | 346 { |
347 sprintf(ltemp, "escaped with the Amulet [deepest level :%d]\n", | 347 sprintf(ltemp, "escaped with the Amulet [deepest level: %d]\n", |
348 max_level); | 348 max_level); |
349 strcat(logmessage, ltemp); | 349 strcat(logmessage, ltemp); |
350 } | 350 } |
351 else | 351 else |
352 return; | 352 return; |