From 0cc28f7cdb9eb418c814411df652f89e5da8009b Mon Sep 17 00:00:00 2001 From: chuck Date: Thu, 22 Aug 2002 01:49:34 +0000 Subject: shops are only supposed to have 1 door (as per standard hack 1.0.3). for some reason, the version of 1.0.3 that was in the 4.4 lite tree was modified to allow shops with two doors -- this violates the spirit of the game. with this diff, we revert back to classic 1.0.3 behavior. --- hack/hack.mkshop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hack/hack.mkshop.c') diff --git a/hack/hack.mkshop.c b/hack/hack.mkshop.c index 8ec09f9c..a73dce78 100644 --- a/hack/hack.mkshop.c +++ b/hack/hack.mkshop.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.mkshop.c,v 1.6 2001/03/25 20:44:01 jsm Exp $ */ +/* $NetBSD: hack.mkshop.c,v 1.7 2002/08/22 01:49:34 chuck Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. @@ -6,7 +6,7 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.mkshop.c,v 1.6 2001/03/25 20:44:01 jsm Exp $"); +__RCSID("$NetBSD: hack.mkshop.c,v 1.7 2002/08/22 01:49:34 chuck Exp $"); #endif /* not lint */ #include @@ -70,7 +70,7 @@ gottype: #ifdef WIZARD (wizard && getenv("SHOPTYPE") && sroom->doorct != 0) || #endif /* WIZARD */ - (sroom->doorct <= 2 && sroom->doorct > 0)) + sroom->doorct == 1) break; } -- cgit v1.2.3