diff options
-rw-r--r-- | taipan.c | 20 |
1 files changed, 9 insertions, 11 deletions
@@ -1989,6 +1989,7 @@ const char const *score_desc[] = { }; void final_stats(void) { + char i, unrated = 1; int years = year - 1860; #ifdef BIGNUM @@ -2093,18 +2094,15 @@ void final_stats(void) { crlf(); cprint_pipe(); - { - char i, unrated = 1; - for(i = 0; i < 5; i++) { - if(unrated && score >= score_lim[i]) { - unrated = 0; - rvs_on(); - } - print_msg(score_msg[i]); - rvs_off(); - gotox(16); - cputs(score_desc[i]); + for(i = 0; i < 5; i++) { + if(unrated && score >= score_lim[i]) { + unrated = 0; + rvs_on(); } + print_msg(score_msg[i]); + rvs_off(); + gotox(16); + cputs(score_desc[i]); } cputc(26); // lower left corner |