aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--taipan.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/taipan.c b/taipan.c
index 9b4c3ee..c7498ad 100644
--- a/taipan.c
+++ b/taipan.c
@@ -116,8 +116,8 @@ extern const char *port_stat_screen;
char port_stat_dirty = 1;
/* boolean, turbo fighting mode. cleared on entry to sea_battle(), set
- when user enters turbo mode. must be cleared by the caller, when
- sea_battle() returns. */
+ when user enters turbo mode. has no effect outside of sea_battle() so
+ the caller doesn't have to reset it. */
unsigned char turbo;
/* asm curses/conio funcs from console.s. Old C versions moved to
@@ -1292,7 +1292,9 @@ char sea_battle(char id, int num_ships) {
// cputs(": ");
cprint_colon_space();
cprintulong(hold_[1]);
- gotoxy(5, 5);
+ gotox0y(5);
+ clrtoeol();
+ gotox(5);
// cputs(item[2]);
print_msg(M_arms);
// cputs(": ");