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:
Enno Rehling 2014-06-29 12:47:11 -07:00
parent 6bd2b3be26
commit 1000c1f911
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ void encounters(void)
region *r; region *r;
for (r = regions; r; r = r->next) { 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; int c = 0;
unit *u; unit *u;
for (u = r->units; u; u = u->next) { for (u = r->units; u; u = u->next) {