Mercurial > hg > early-roguelike
comparison arogue5/command.c @ 65:7aff18a8d508
arogue5: implement logging.
author | elwin |
---|---|
date | Fri, 10 Aug 2012 21:17:14 +0000 |
parents | 0ed67132cf10 |
children | c49f7927b0fa |
comparison
equal
deleted
inserted
replaced
64:a98834ce7e04 | 65:7aff18a8d508 |
---|---|
448 if (readchar() == 'y') | 448 if (readchar() == 'y') |
449 { | 449 { |
450 clear(); | 450 clear(); |
451 move(LINES-1, 0); | 451 move(LINES-1, 0); |
452 draw(stdscr); | 452 draw(stdscr); |
453 writelog(pstats.s_exp + (long) purse, CHICKEN, 0); | |
453 score(pstats.s_exp + (long) purse, CHICKEN, 0); | 454 score(pstats.s_exp + (long) purse, CHICKEN, 0); |
454 exit(0); | 455 exit(0); |
455 } | 456 } |
456 else | 457 else |
457 { | 458 { |