summaryrefslogtreecommitdiffstats
path: root/adventure/vocab.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-25 06:56:52 +0000
committerdholland <dholland@NetBSD.org>2009-08-25 06:56:52 +0000
commit630c158db305e2fc45fe246eed30045d50c1ec4d (patch)
tree2c85cb72bf639e869f0f408cad9cb06c9b77f01e /adventure/vocab.c
parent90f6a570a99c8ececaa0448d7112b09eaab1605b (diff)
downloadbsdgames-darwin-630c158db305e2fc45fe246eed30045d50c1ec4d.tar.gz
bsdgames-darwin-630c158db305e2fc45fe246eed30045d50c1ec4d.tar.zst
bsdgames-darwin-630c158db305e2fc45fe246eed30045d50c1ec4d.zip
Whn ths cd ws wrttn, thr ws bt shrtg nd vwls wr xtrml xpnsv. Nowadays,
however, we have an ample vowel budget, and bit shortages are a thing of the past (even in a down economy) so spend a bit to improve readability.
Diffstat (limited to 'adventure/vocab.c')
-rw-r--r--adventure/vocab.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/adventure/vocab.c b/adventure/vocab.c
index 01beeeeb..1a1b7006 100644
--- a/adventure/vocab.c
+++ b/adventure/vocab.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vocab.c,v 1.14 2009/08/12 04:28:27 dholland Exp $ */
+/* $NetBSD: vocab.c,v 1.15 2009/08/25 06:56:52 dholland Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)vocab.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: vocab.c,v 1.14 2009/08/12 04:28:27 dholland Exp $");
+__RCSID("$NetBSD: vocab.c,v 1.15 2009/08/25 06:56:52 dholland Exp $");
#endif
#endif /* not lint */
@@ -52,7 +52,7 @@ __RCSID("$NetBSD: vocab.c,v 1.14 2009/08/12 04:28:27 dholland Exp $");
#include "extern.h"
void
-dstroy(int object)
+destroy(int object)
{
move(object, 0);
}
@@ -98,7 +98,7 @@ carry(int object, int where)
if (place[object] == -1)
return;
place[object] = -1;
- holdng++;
+ holding++;
}
if (atloc[where] == object) {
atloc[where] = links[object];
@@ -116,7 +116,7 @@ drop(int object, int where)
fixed[object - 100] = where;
else {
if (place[object] == -1)
- holdng--;
+ holding--;
place[object] = where;
}
if (where <= 0)