comparison rogue4/rip.c @ 24:4967c46f1320

rogue4: make sure score list appears when exiting
author edwarj4
date Tue, 24 Nov 2009 13:02:34 +0000
parents 9535a08ddc39
children ea7372f5d314
comparison
equal deleted inserted replaced
23:107a467612fb 24:4967c46f1320
270 sprintf(prbuf, "%2d", 1900+lt->tm_year); 270 sprintf(prbuf, "%2d", 1900+lt->tm_year);
271 mvaddstr(18, 26, prbuf); 271 mvaddstr(18, 26, prbuf);
272 move(LINES-1, 0); 272 move(LINES-1, 0);
273 refresh(); 273 refresh();
274 score(purse, 0, monst); 274 score(purse, 0, monst);
275 /* Make sure the output gets through */
276 printf("[Press return to exit]\n");
277 fflush(NULL);
278 getchar();
275 exit(0); 279 exit(0);
276 } 280 }
277 281
278 /* 282 /*
279 * total_winner: 283 * total_winner: