Mercurial > hg > early-roguelike
comparison rogue3/command.c @ 43:24e6beb9e7aa
Make sure the score list appears in all situations.
author | elwin |
---|---|
date | Tue, 07 Dec 2010 16:46:07 +0000 |
parents | 95e2bbb7b6e0 |
children | 47aeaccbb953 |
comparison
equal
deleted
inserted
replaced
42:30fb47f21d35 | 43:24e6beb9e7aa |
---|---|
338 move(LINES-1, 0); | 338 move(LINES-1, 0); |
339 draw(stdscr); | 339 draw(stdscr); |
340 endwin(); | 340 endwin(); |
341 writelog(purse, 1, 0); | 341 writelog(purse, 1, 0); |
342 score(purse, 1, 0); | 342 score(purse, 1, 0); |
343 printf("[Press return to exit]\n"); | |
344 fflush(NULL); | |
345 getchar(); | |
343 exit(0); | 346 exit(0); |
344 } | 347 } |
345 else | 348 else |
346 { | 349 { |
347 signal(SIGINT, quit); | 350 signal(SIGINT, quit); |