only in the normal plane

This commit is contained in:
Enno Rehling 2004-02-21 22:38:58 +00:00
parent 016a209845
commit 9ab533e8de
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@
#include <kernel/building.h>
#include <kernel/faction.h>
#include <kernel/message.h>
#include <kernel/plane.h>
#include <kernel/region.h>
#include <kernel/unit.h>
@ -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