aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--taipan.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/taipan.c b/taipan.c
index 2c9dbb8..70996e8 100644
--- a/taipan.c
+++ b/taipan.c
@@ -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