From 94dedf208eb60127e19e62445b0609eb6274d1b1 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 21 May 2021 04:12:08 -0400 Subject: Save 64 bytes (now 9027) --- taipan.c | 5 +---- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3