forked from github/server
random encounters in land regions only (nobody will ever enter a firewall, and astral plane shouldn't have it either)
This commit is contained in:
parent
6bd2b3be26
commit
1000c1f911
|
@ -393,7 +393,7 @@ void encounters(void)
|
|||
region *r;
|
||||
|
||||
for (r = regions; r; r = r->next) {
|
||||
if (!fval(r->terrain, SEA_REGION) && fval(r, RF_ENCOUNTER)) {
|
||||
if (fval(r->terrain, LAND_REGION) && fval(r, RF_ENCOUNTER)) {
|
||||
int c = 0;
|
||||
unit *u;
|
||||
for (u = r->units; u; u = u->next) {
|
||||
|
|
Loading…
Reference in New Issue