diff options
author | B. Watson <yalhcru@gmail.com> | 2021-04-04 15:24:40 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-04-04 15:24:40 -0400 |
commit | 7c98e0584f5c611e53f757ddcc8655551428ba30 (patch) | |
tree | 042e7ddace71ca937092acd4f3eeace74689d18d | |
parent | ebc8bc84498e690b46b1dfc74180838eec53353e (diff) | |
download | taipan-7c98e0584f5c611e53f757ddcc8655551428ba30.tar.gz |
Cleanup throw cargo display
-rw-r--r-- | taipan.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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(": "); |