aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--taipan.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/taipan.c b/taipan.c
index fd471e8..33c7852 100644
--- a/taipan.c
+++ b/taipan.c
@@ -504,6 +504,9 @@ void new_gun(void)
One minor difference between this and fancy_numbers() is that
we print "1.10 Million" rather than "1.1 Million" (extra zero).
I don't think anyone's going to complain.
+
+ BUG here, 2.09 million is printed as 2.9 million (leading 0
+ digit is dropped)
*/
void cprintfancy_ctr(unsigned long num, unsigned char center) {
char mil = 1;
@@ -1950,7 +1953,12 @@ void quit(void)
under_attack_sound();
timed_getch(TMOUT_3S);
- sea_battle(LI_YUEN, num_ships);
+ /* WTF, the original code reads:
+ sea_battle(LI_YUEN, num_ships);
+ ...which seems to mean you die if you succeed in
+ running away from li yuen's pirates... */
+ result = sea_battle(LI_YUEN, num_ships);
+
gotoxy(0,23); /* to avoid disappearing U in "In use" */
}
}