aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--taipan.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/taipan.c b/taipan.c
index b365edf..ba5a239 100644
--- a/taipan.c
+++ b/taipan.c
@@ -1126,10 +1126,7 @@ char sea_battle(char id, int num_ships) {
booty = 0L;
}
- for(i = 0; i <= 9; i++) {
- ships_on_screen[i] = 0;
- }
-
+ clear_ships_on_screen();
clr_screen();
/* the static part of "we have N guns" display, gets printed