diff options
author | B. Watson <yalhcru@gmail.com> | 2021-05-20 15:52:18 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-05-20 15:52:18 -0400 |
commit | c3674c25db53023c65864894bd1b9488e070e1f4 (patch) | |
tree | 54ffeda7603163806550026a11b97da5198537c3 | |
parent | 41bbac55209e4cf6481937a2ffdfc39997b5572a (diff) | |
download | taipan-c3674c25db53023c65864894bd1b9488e070e1f4.tar.gz |
Save 2 more bytes, now 8969
-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 |