summaryrefslogtreecommitdiff
path: root/games/hack
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-23 20:05:17 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-23 20:05:17 +0000
commit24ebfd27177ba2d49b2fd2e9d5b5fba3df35744c (patch)
treef301459f6e2160b59f102e5506c37de2f4c48251 /games/hack
parentec11c0c45f17c8fcab3c1dcd043b3cd0b55c4c82 (diff)
tabify
Diffstat (limited to 'games/hack')
-rw-r--r--games/hack/def.objclass.h2
-rw-r--r--games/hack/hack.fix4
-rw-r--r--games/hack/hack.shk.c4
-rw-r--r--games/hack/hack.wield.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/games/hack/def.objclass.h b/games/hack/def.objclass.h
index 15f7f98d975..3a8d99c44db 100644
--- a/games/hack/def.objclass.h
+++ b/games/hack/def.objclass.h
@@ -58,6 +58,6 @@ extern struct objclass objects[];
* hack.mkobj.c: char mkobjstr[] = "))[[!!!!????%%%%/=**";
* hack.apply.c: otmp = getobj("0#%", "put in");
* hack.eat.c: otmp = getobj("%", "eat");
- * hack.invent.c: if(index("!%?[)=*(0/\"", sym)){
+ * hack.invent.c: if(index("!%?[)=*(0/\"", sym)){
* hack.invent.c: || index("%?!*",otmp->olet))){
*/
diff --git a/games/hack/hack.fix b/games/hack/hack.fix
index c01616ce1b1..ddfdebbcfdc 100644
--- a/games/hack/hack.fix
+++ b/games/hack/hack.fix
@@ -29,8 +29,8 @@ but I think the other fix was intended by the now deleted lines.
Andreas
--
-Andreas Bormann ab@unido.UUCP
-University of Dortmund N 51 29' 05" E 07 24' 42"
+Andreas Bormann ab@unido.UUCP
+University of Dortmund N 51 29' 05" E 07 24' 42"
West Germany
------ the diff follows:
diff --git a/games/hack/hack.shk.c b/games/hack/hack.shk.c
index ab4e3f81017..5fbd8d622e3 100644
--- a/games/hack/hack.shk.c
+++ b/games/hack/hack.shk.c
@@ -429,8 +429,8 @@ int pass, tmp;
}
/* return 1 if paid successfully */
-/* 0 if not enough money */
-/* -1 if object could not be found (but was paid) */
+/* 0 if not enough money */
+/* -1 if object could not be found (but was paid) */
static
dopayobj(bp) register struct bill_x *bp; {
register struct obj *obj;
diff --git a/games/hack/hack.wield.c b/games/hack/hack.wield.c
index e0f40b64339..39ec6b0300b 100644
--- a/games/hack/hack.wield.c
+++ b/games/hack/hack.wield.c
@@ -91,7 +91,7 @@ register char *time;
aobjnam(uwep, "glow"), plur(uwep->quan));
while(uwep) /* let all of them disappear */
/* note: uwep->quan = 1 is nogood if unpaid */
- useup(uwep);
+ useup(uwep);
return(1);
}
if(!rn2(6)) amount *= 2;