comparison rogue5/main.c @ 43:24e6beb9e7aa

Make sure the score list appears in all situations.
author elwin
date Tue, 07 Dec 2010 16:46:07 +0000
parents 655c317b6237
children ee250e3646fd
comparison
equal deleted inserted replaced
42:30fb47f21d35 43:24e6beb9e7aa
329 mvprintw(LINES - 2, 0, "You quit with %d gold pieces", purse); 329 mvprintw(LINES - 2, 0, "You quit with %d gold pieces", purse);
330 move(LINES - 1, 0); 330 move(LINES - 1, 0);
331 refresh(); 331 refresh();
332 writelog(purse, 1, 0); 332 writelog(purse, 1, 0);
333 score(purse, 1, 0); 333 score(purse, 1, 0);
334 printf("[Press return to exit]\n");
335 fflush(NULL);
336 getchar();
334 my_exit(0); 337 my_exit(0);
335 } 338 }
336 else 339 else
337 { 340 {
338 move(0, 0); 341 move(0, 0);