summaryrefslogtreecommitdiff
path: root/games/hack/hack.mkshop.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2001-08-06 22:59:14 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2001-08-06 22:59:14 +0000
commitfd84030e113cfc21538f46f52601e75d11d7cd46 (patch)
treefbb40ee2d238fafdbc28bc69fc3a2c9946ac7f2b /games/hack/hack.mkshop.c
parentae0bab4889690c7680ac2b500763a7cadd471d12 (diff)
Nothing but comments after #endif and #else; heko@iki.fi
Diffstat (limited to 'games/hack/hack.mkshop.c')
-rw-r--r--games/hack/hack.mkshop.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/hack/hack.mkshop.c b/games/hack/hack.mkshop.c
index dc6e2ec3109..098a9cd059e 100644
--- a/games/hack/hack.mkshop.c
+++ b/games/hack/hack.mkshop.c
@@ -1,11 +1,11 @@
-/* $OpenBSD: hack.mkshop.c,v 1.2 2001/01/28 23:41:44 niklas Exp $ */
+/* $OpenBSD: hack.mkshop.c,v 1.3 2001/08/06 22:59:13 pjanzen Exp $ */
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: hack.mkshop.c,v 1.2 2001/01/28 23:41:44 niklas Exp $";
+static char rcsid[] = "$OpenBSD: hack.mkshop.c,v 1.3 2001/08/06 22:59:13 pjanzen Exp $";
#endif /* not lint */
#include <stdlib.h>
@@ -53,7 +53,7 @@ register struct monst *shk;
}
}
gottype:
-#endif WIZARD
+#endif /* WIZARD */
for(sroom = &rooms[0], roomno = 0; ; sroom++, roomno++){
if(sroom->hx < 0) return;
if(sroom - rooms >= nroom) {
@@ -66,7 +66,7 @@ gottype:
if(
#ifdef WIZARD
(wizard && getenv("SHOPTYPE") && sroom->doorct != 0) ||
-#endif WIZARD
+#endif /* WIZARD */
sroom->doorct <= 2 && sroom->doorct > 0) break;
}
@@ -104,7 +104,7 @@ gottype:
}
more();
}
-#endif WIZARD
+#endif /* WIZARD */
return;
}
if(!(shk = makemon(PM_SHK,sx,sy))) return;
@@ -278,4 +278,4 @@ dist2(x0,y0,x1,y1){
sq(a) int a; {
return(a*a);
}
-#endif QUEST
+#endif /* QUEST */