X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/3c786d433a6b285c1afa50b8c0ca339c4e861c69..b8313a402e72751bb0d6bed552f055d92fb21620:/sail/dr_2.c diff --git a/sail/dr_2.c b/sail/dr_2.c index 3eb96ab2..72c6ef7e 100644 --- a/sail/dr_2.c +++ b/sail/dr_2.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_2.c,v 1.18 2001/02/05 01:10:08 christos Exp $ */ +/* $NetBSD: dr_2.c,v 1.20 2009/03/02 06:43:53 dholland 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,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)dr_2.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: dr_2.c,v 1.18 2001/02/05 01:10:08 christos Exp $"); +__RCSID("$NetBSD: dr_2.c,v 1.20 2009/03/02 06:43:53 dholland Exp $"); #endif #endif /* not lint */ @@ -74,12 +70,12 @@ thinkofgrapples(void) continue; if (range(sp, sq) != 1) continue; - if (grappled2(sp, sq)) + if (grappled2(sp, sq)) { if (is_toughmelee(sp, sq, 0, 0)) ungrap(sp, sq); else grap(sp, sq); - else if (couldwin(sp, sq)) { + } else if (couldwin(sp, sq)) { grap(sp, sq); sp->file->loadwith = L_GRAPE; }