From 7c98e0584f5c611e53f757ddcc8655551428ba30 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 4 Apr 2021 15:24:40 -0400 Subject: Cleanup throw cargo display --- taipan.c | 8 +++++--- 1 file 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(": "); -- cgit v1.2.3