summaryrefslogtreecommitdiff
path: root/games/hack/hack.fight.c
diff options
context:
space:
mode:
authorThierry Deval <tdeval@cvs.openbsd.org>2003-05-07 09:48:58 +0000
committerThierry Deval <tdeval@cvs.openbsd.org>2003-05-07 09:48:58 +0000
commitc4fc169dda87c72986c6289cda73af58d9525ad0 (patch)
treec1f83121a66300e511baa11937369bd3650633b8 /games/hack/hack.fight.c
parentcec4fba2d68884e9da4662a55153a523a76eb5f2 (diff)
Major strings rework. Ok pjanzen@
Diffstat (limited to 'games/hack/hack.fight.c')
-rw-r--r--games/hack/hack.fight.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/hack/hack.fight.c b/games/hack/hack.fight.c
index 757d0b12545..f0658e73874 100644
--- a/games/hack/hack.fight.c
+++ b/games/hack/hack.fight.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hack.fight.c,v 1.6 2003/04/06 18:50:37 deraadt Exp $ */
+/* $OpenBSD: hack.fight.c,v 1.7 2003/05/07 09:48:57 tdeval Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -62,7 +62,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: hack.fight.c,v 1.6 2003/04/06 18:50:37 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: hack.fight.c,v 1.7 2003/05/07 09:48:57 tdeval Exp $";
#endif /* not lint */
#include "hack.h"
@@ -175,7 +175,7 @@ register tlev,dam;
register char *name;
{
char buf[BUFSZ];
- setan(name,buf);
+ setan(name,buf,sizeof buf);
if(u.uac + tlev <= rnd(20)) {
if(Blind) pline("It misses.");
else pline("You are almost hit by %s!", buf);