comparison srogue/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 30fb47f21d35
children 3aa87373c908
comparison
equal deleted inserted replaced
42:30fb47f21d35 43:24e6beb9e7aa
372 clear(); 372 clear();
373 move(LINES-1, 0); 373 move(LINES-1, 0);
374 refresh(); 374 refresh();
375 writelog(purse, CHICKEN, 0); 375 writelog(purse, CHICKEN, 0);
376 score(purse, CHICKEN, 0); 376 score(purse, CHICKEN, 0);
377 printf("[Press return to exit]\n");
378 fflush(NULL);
379 getchar();
377 byebye(0); 380 byebye(0);
378 } 381 }
379 else if (ch == 's') { 382 else if (ch == 's') {
380 good = save_game(); 383 good = save_game();
381 if (good) { 384 if (good) {