X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/cc53fc319970619b25fdfa3545d62eab5ffa55dd..3748e584d42e73bc48d6b26c52a093ad7d77732c:/sail/pl_3.c diff --git a/sail/pl_3.c b/sail/pl_3.c index 2cf7c055..81d012c2 100644 --- a/sail/pl_3.c +++ b/sail/pl_3.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_3.c,v 1.12 2001/01/04 03:21:17 jwise Exp $ */ +/* $NetBSD: pl_3.c,v 1.17 2003/08/07 09:37:43 agc Exp $ */ /* * Copyright (c) 1983, 1993 @@ -12,11 +12,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -38,17 +34,15 @@ #if 0 static char sccsid[] = "@(#)pl_3.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_3.c,v 1.12 2001/01/04 03:21:17 jwise Exp $"); +__RCSID("$NetBSD: pl_3.c,v 1.17 2003/08/07 09:37:43 agc Exp $"); #endif #endif /* not lint */ +#include #include +#include "extern.h" #include "player.h" -void acceptcombat(void); -void grapungrap(void); -void unfoulplayer(void); - void acceptcombat(void) { @@ -201,7 +195,7 @@ acceptcombat(void) hhits = 0; } } - table(shootat, load, hit, closest, ms, roll); + table(ms, closest, shootat, load, hit, roll); } Msg("Damage inflicted on the %s:", closest->shipname); Msg("\t%d HULL, %d GUNS, %d CREW, %d RIGGING",