Mercurial > hg > early-roguelike
comparison srogue/command.c @ 41:5ea4a4d8f961
srogue: add logging.
author | elwin |
---|---|
date | Sat, 04 Dec 2010 14:45:38 +0000 |
parents | 2128c7dc8a40 |
children | 30fb47f21d35 |
comparison
equal
deleted
inserted
replaced
40:984f7d5afb6f | 41:5ea4a4d8f961 |
---|---|
370 ch = readchar(); | 370 ch = readchar(); |
371 if (ch == 'y') { | 371 if (ch == 'y') { |
372 clear(); | 372 clear(); |
373 move(LINES-1, 0); | 373 move(LINES-1, 0); |
374 refresh(); | 374 refresh(); |
375 writelog(purse, CHICKEN, 0); | |
375 score(purse, CHICKEN, 0); | 376 score(purse, CHICKEN, 0); |
376 byebye(0); | 377 byebye(0); |
377 } | 378 } |
378 else if (ch == 's') { | 379 else if (ch == 's') { |
379 good = save_game(); | 380 good = save_game(); |