comparison rogue4/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 2dcd75e6a736
children 88ab59f06dfc
comparison
equal deleted inserted replaced
42:30fb47f21d35 43:24e6beb9e7aa
351 mvprintw(LINES - 2, 0, "You quit with %d gold pieces", purse); 351 mvprintw(LINES - 2, 0, "You quit with %d gold pieces", purse);
352 move(LINES - 1, 0); 352 move(LINES - 1, 0);
353 refresh(); 353 refresh();
354 writelog(purse, 1, 0); 354 writelog(purse, 1, 0);
355 score(purse, 1); 355 score(purse, 1);
356 printf("[Press return to exit]\n");
357 fflush(NULL);
358 getchar();
356 exit(0); 359 exit(0);
357 } 360 }
358 else 361 else
359 { 362 {
360 move(0, 0); 363 move(0, 0);