From 9ab533e8dee1bdcc36bf218694da4c2d7130e07e Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 21 Feb 2004 22:38:58 +0000 Subject: [PATCH] only in the normal plane --- src/common/modules/wormhole.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/modules/wormhole.c b/src/common/modules/wormhole.c index 352abc95c..06c21cdce 100644 --- a/src/common/modules/wormhole.c +++ b/src/common/modules/wormhole.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -32,7 +33,7 @@ static boolean good_region(const region * r) { - return (r->units!=NULL && r->land!=NULL); + return (rplane(r)==NULL && r->units!=NULL && r->land!=NULL); } static int