forked from github/server
only in the normal plane
This commit is contained in:
parent
016a209845
commit
9ab533e8de
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue