aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-04-04 15:24:40 -0400
committerB. Watson <yalhcru@gmail.com>2021-04-04 15:24:40 -0400
commit7c98e0584f5c611e53f757ddcc8655551428ba30 (patch)
tree042e7ddace71ca937092acd4f3eeace74689d18d
parentebc8bc84498e690b46b1dfc74180838eec53353e (diff)
downloadtaipan-7c98e0584f5c611e53f757ddcc8655551428ba30.tar.gz
Cleanup throw cargo display
-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(": ");