Mercurial > hg > early-roguelike
comparison urogue/rip.c @ 267:911f0aa6e758
UltraRogue: flush output when exiting.
| author | John "Elwin" Edwards |
|---|---|
| date | Sun, 26 Feb 2017 14:58:49 -0500 |
| parents | c495a4f288c6 |
| children | 4ab49e42dd6a |
comparison
equal
deleted
inserted
replaced
| 266:08489644940b | 267:911f0aa6e758 |
|---|---|
| 375 /* Update the list file */ | 375 /* Update the list file */ |
| 376 fwrite(top_ten, sizeof(top_ten), 1, fd_score); | 376 fwrite(top_ten, sizeof(top_ten), 1, fd_score); |
| 377 } | 377 } |
| 378 | 378 |
| 379 fclose(fd_score); | 379 fclose(fd_score); |
| 380 | |
| 381 if (flags != SCOREIT) { | |
| 382 printf("[Press RETURN to exit]\n"); | |
| 383 fflush(stdout); | |
| 384 getchar(); | |
| 385 } | |
| 380 } | 386 } |
| 381 | 387 |
| 382 void | 388 void |
| 383 total_winner(void) | 389 total_winner(void) |
| 384 { | 390 { |
