diff options
| author | dholland <dholland@NetBSD.org> | 2008-01-14 00:23:51 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2008-01-14 00:23:51 +0000 |
| commit | 75ac6f4b4e5cbe8cd70943b174c38771b817c6ff (patch) | |
| tree | e2b60ebac50f7c8c92ddac55ad7cdf0979731f63 /rogue/throw.c | |
| parent | 90a64b5b883e72d7189621a32f110d746d66d666 (diff) | |
| download | bsdgames-darwin-75ac6f4b4e5cbe8cd70943b174c38771b817c6ff.tar.gz bsdgames-darwin-75ac6f4b4e5cbe8cd70943b174c38771b817c6ff.zip | |
Whitespace/KNF nits.
Diffstat (limited to 'rogue/throw.c')
| -rw-r--r-- | rogue/throw.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rogue/throw.c b/rogue/throw.c index 0312503c..ac380c6e 100644 --- a/rogue/throw.c +++ b/rogue/throw.c @@ -1,4 +1,4 @@ -/* $NetBSD: throw.c,v 1.8 2007/12/27 23:53:01 dholland Exp $ */ +/* $NetBSD: throw.c,v 1.9 2008/01/14 00:23:53 dholland Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)throw.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: throw.c,v 1.8 2007/12/27 23:53:01 dholland Exp $"); +__RCSID("$NetBSD: throw.c,v 1.9 2008/01/14 00:23:53 dholland Exp $"); #endif #endif /* not lint */ @@ -146,12 +146,12 @@ throw_at_monster(monster, weapon) weapon->quantity = t; if (!rand_percent(hit_chance)) { - (void) strlcat(hit_message, "misses ", HIT_MESSAGE_SIZE); + (void)strlcat(hit_message, "misses ", HIT_MESSAGE_SIZE); return(0); } s_con_mon(monster); - (void) strlcat(hit_message, "hit ", HIT_MESSAGE_SIZE); - (void) mon_damage(monster, damage); + (void)strlcat(hit_message, "hit ", HIT_MESSAGE_SIZE); + (void)mon_damage(monster, damage); return(1); } |
